InputCore defines special constants for each key the user can press. The virtual-key codes identify various virtual keys. These constants can then be used to refer to the keystroke when using InputCore API calls. Virtual keys mainly consist of actual keyboard keys. All the following meanings listed below are for a U.S. English-language keyboard.
More...
Go to the source code of this file.
Detailed Description
InputCore defines special constants for each key the user can press. The virtual-key codes identify various virtual keys. These constants can then be used to refer to the keystroke when using InputCore API calls. Virtual keys mainly consist of actual keyboard keys. All the following meanings listed below are for a U.S. English-language keyboard.
- See also:
- ceKeyboard.h
Define Documentation
#define _CE_KEYCODES_H_ 0x1 |
#define KEY_SNAPSHOT 0x2C |
96 : Numeric keypad 0 key.
97 : Numeric keypad 1 key.
98 : Numeric keypad 2 key.
99 : Numeric keypad 3 key.
100 : Numeric keypad 4 key.
101 : Numeric keypad 5 key.
102 : Numeric keypad 6 key.
103 : Numeric keypad 7 key.
104 : Numeric keypad 8 key.
105 : Numeric keypad 9 key.
#define KEY_MULTIPLY 0x6A |
#define KEY_SEPARATOR 0x6C |
#define KEY_SUBTRACT 0x6D |
#define KEY_OEM_PLUS 0xBB |
#define KEY_OEM_COMMA 0xBC |
#define KEY_OEM_MINUS 0xBD |
#define KEY_OEM_PERIOD 0xBE |
20 : CAPS LOCK key (modifier).
144 : NUM LOCK key (modifier).
145 : SCROLL LOCK key (modifier).
160 : Left SHIFT key (modifier).
161 : Right SHIFT key (modifier).
#define KEY_LCONTROL 0xA2 |
162 : Left CONTROL key (modifier).
#define KEY_RCONTROL 0xA3 |
163 : Right CONTROL key (modifier).
164 : Left MENU key (modifier).
165 : Right MENU key (modifier).
#define KEY_BACKSPACE KEY_BACK |
#define KEY_NUMPADSTAR KEY_MULTIPLY |
#define KEY_NUMPADMINUS KEY_SUBTRACT |
#define KEY_NUMPADPLUS KEY_ADD |
#define KEY_NUMPADPERIOD KEY_DECIMAL |
#define KEY_NUMPADSLASH KEY_DIVIDE |
#define KEY_UPARROW KEY_UP |
#define KEY_LEFTARROW KEY_LEFT |
#define KEY_RIGHTARROW KEY_RIGHT |
#define KEY_DOWNARROW KEY_DOWN |
#define KEY_PGUP KEY_PRIOR |
#define KEY_PGDN KEY_NEXT |
#define KEY_CAPSLOCK KEY_CAPITAL |
#define KEY_LALT KEY_LMENU |
#define KEY_RALT KEY_RMENU |
#define KEY_LCTRL KEY_LCONTROL |
#define KEY_RCTRL KEY_RCONTROL |
#define KEY_CTRL KEY_CONTROL |
#define KEY_CONTROL (KEY_LCONTROL | KEY_RCONTROL) |
#define KEY_SHIFT (KEY_LSHIFT | KEY_RSHIFT) |
#define KEY_ALT (KEY_LALT | KEY_RALT) |