Lines Matching full:keyboard

40 #define	KB_SUN2		0x02		/* Sun-2 custom keyboard */
44 #define NOTPRESENT 0xFF /* Keyboard is not plugged in */
59 * Following are the only keyboard types supported by kb module.
61 * themselves as Type 4 keyboard with a different layout id.)
63 #define KB_SUN3 3 /* Type 3 Sun keyboard */
64 #define KB_SUN4 4 /* Type 4 Sun keyboard */
65 #define KB_USB 6 /* USB keyboard */
66 #define KB_PC 101 /* Type 101 AT keyboard */
71 * This structure is used to enumerate the supported keyboard types.
76 int id; /* Keyboard type, per KIOCTYPE */
77 struct keyboard *table; /* Keyboard table to use. */
83 #define IDLEKEY 0x7F /* Keyboard is idle; no keys down */
84 #define ERRORKEY 0x7E /* Keyboard detected an error */
85 #define RESETKEY 0xFF /* Keyboard was just reset */
86 #define LAYOUTKEY 0xFE /* Keyboard layout byte follows */
92 * Commands to the Sun-3 keyboard.
94 #define KBD_CMD_RESET 0x01 /* Reset keyboard as if power-up */
101 * Commands to the Type 4 keyboard, in addition to those above.
104 #define KBD_CMD_SETLED 0x0E /* Set keyboard LED's */
105 #define KBD_CMD_GETLAYOUT 0x0F /* Request that keyboard indicate */
108 * Type 4 keyboard LED masks (used to set LED's)
120 * These are the states that the keyboard scanner can be in.
195 /* TOPMASK 0x0080 UPMASK in keyboard driver */
218 * The KEYMAP_SIZE is dependent upon the keyboard type. For example, the
219 * Sun Type 4/5 keyboards have a KEYMAP_SIZE of 128 where a USB keyboard
221 * keyboard type, a keyboard specific module/driver may supply the value
223 * keyboard struct appropriately.
267 * A keyboard is defined by its keymaps and what state it resets at idle.
270 * state of shiftmask and buckybits when a "keyboard idle" code
273 * keyboard knows better than us. However, some keyboards don't know
281 struct keyboard { struct
381 #define HOLE SPECIAL(0x3, 0x2) /* This key does not exist on the keyboard. */
442 * The actual keyboard positions may not be on the left/right/top/bottom
443 * of the physical keyboard (although they usually are).