Lines Matching defs:layout
2146 The return value is a list of pairs of language id and layout id. */)
2169 DEFUN ("w32-get-keyboard-layout", Fw32_get_keyboard_layout,
2171 doc: /* Return current Windows keyboard language and layout.
2172 The return value is the cons of the language id and the layout id. */)
2182 DEFUN ("w32-set-keyboard-layout", Fw32_set_keyboard_layout,
2184 doc: /* Make LAYOUT be the current keyboard layout for Emacs.
2185 The keyboard layout setting affects interpretation of keyboard input.
2186 If successful, the new layout id is returned, otherwise nil. */)
2187 (layout)
2188 Lisp_Object layout;
2192 CHECK_CONS (layout);
2193 CHECK_NUMBER_CAR (layout);
2194 CHECK_NUMBER_CDR (layout);
2196 kl = (XINT (XCAR (layout)) & 0xffff)
2197 | (XINT (XCDR (layout)) << 16);
2199 /* Synchronize layout with input thread. */