Keyboard Driver Interface Definitions.
Keyboard drivers consist of only a single node, which is a normal file node with a size of zero. All reads and writes to this node are ignored (tVFS_Node.Read and tVFS_Node.Write are NULL)
Go to the source code of this file.
Defines | |
#define | DRV_KEYBAORD_IOCTLNAMES "getset_repeat_rate", "getset_repeat_delay", "set_callback" |
Typedefs | |
typedef void(* | tKeybardCallback )(Uint32 Key) |
Callback type for KB_IOCTL_SETCALLBACK. | |
Enumerations | |
enum | eTplKeyboard_IOCtl { KB_IOCTL_REPEATRATE = 4, KB_IOCTL_REPEATDELAY, KB_IOCTL_SETCALLBACK } |
Common Keyboard IOCtl Calls. More... | |
enum | eTplKeyboard_KeyCodes { KEY_ESC = 0x1B, KEY_NP_MASK = 0x40000000, KEY_CAPSLOCK, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_F11, KEY_F12, KEY_NUMLOCK, KEY_SCROLLLOCK, KEY_HOME, KEY_END, KEY_INS, KEY_DEL, KEY_PAUSE, KEY_BREAK, KEY_PGUP, KEY_PGDOWN, KEY_KPENTER, KEY_KPSLASH, KEY_KPMINUS, KEY_KPPLUS, KEY_KPSTAR, KEY_KPHOME, KEY_KPUP, KEY_KPPGUP, KEY_KPLEFT, KEY_KP5, KEY_KPRIGHT, KEY_KPEND, KEY_KPDOWN, KEY_KPPGDN, KEY_KPINS, KEY_KPDEL, KEY_WIN, KEY_MENU, KEY_MODIFIERS = 0x60000000, KEY_LCTRL, KEY_RCTRL, KEY_LALT, KEY_RALT, KEY_LSHIFT, KEY_RSHIFT } |
Symbolic key codes. More... |
typedef void(* tKeybardCallback)(Uint32 Key) |
Callback type for KB_IOCTL_SETCALLBACK.
Key | Unicode character code for the pressed key (with bit 31 set if the key is released) |
enum eTplKeyboard_IOCtl |
Common Keyboard IOCtl Calls.