Lines Matching refs:keyboard

42 #define	KB_SUN2		0x02		/* Sun-2 custom keyboard */
61 * Following are the only keyboard types supported by kb module.
63 * themselves as Type 4 keyboard with a different layout id.)
65 #define KB_SUN3 3 /* Type 3 Sun keyboard */
66 #define KB_SUN4 4 /* Type 4 Sun keyboard */
67 #define KB_USB 6 /* USB keyboard */
68 #define KB_PC 101 /* Type 101 AT keyboard */
73 * This structure is used to enumerate the supported keyboard types.
79 struct keyboard *table; /* Keyboard table to use. */
94 * Commands to the Sun-3 keyboard.
96 #define KBD_CMD_RESET 0x01 /* Reset keyboard as if power-up */
103 * Commands to the Type 4 keyboard, in addition to those above.
106 #define KBD_CMD_SETLED 0x0E /* Set keyboard LED's */
107 #define KBD_CMD_GETLAYOUT 0x0F /* Request that keyboard indicate */
110 * Type 4 keyboard LED masks (used to set LED's)
122 * These are the states that the keyboard scanner can be in.
197 /* TOPMASK 0x0080 UPMASK in keyboard driver */
220 * The KEYMAP_SIZE is dependent upon the keyboard type. For example, the
221 * Sun Type 4/5 keyboards have a KEYMAP_SIZE of 128 where a USB keyboard
223 * keyboard type, a keyboard specific module/driver may supply the value
225 * keyboard struct appropriately.
269 * A keyboard is defined by its keymaps and what state it resets at idle.
272 * state of shiftmask and buckybits when a "keyboard idle" code
275 * keyboard knows better than us. However, some keyboards don't know
283 struct keyboard {
373 #define HOLE 0x302 /* This key does not exist on the keyboard. */
424 * The actual keyboard positions may not be on the left/right/top/bottom
425 * of the physical keyboard (although they usually are).