Eddie James | 21b177e | 2018-12-11 13:14:46 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #define USBHID_KEY_A 0x04 |
| 4 | #define USBHID_KEY_B 0x05 |
| 5 | #define USBHID_KEY_C 0x06 |
| 6 | #define USBHID_KEY_D 0x07 |
| 7 | #define USBHID_KEY_E 0x08 |
| 8 | #define USBHID_KEY_F 0x09 |
| 9 | #define USBHID_KEY_G 0x0a |
| 10 | #define USBHID_KEY_H 0x0b |
| 11 | #define USBHID_KEY_I 0x0c |
| 12 | #define USBHID_KEY_J 0x0d |
| 13 | #define USBHID_KEY_K 0x0e |
| 14 | #define USBHID_KEY_L 0x0f |
| 15 | #define USBHID_KEY_M 0x10 |
| 16 | #define USBHID_KEY_N 0x11 |
| 17 | #define USBHID_KEY_O 0x12 |
| 18 | #define USBHID_KEY_P 0x13 |
| 19 | #define USBHID_KEY_Q 0x14 |
| 20 | #define USBHID_KEY_R 0x15 |
| 21 | #define USBHID_KEY_S 0x16 |
| 22 | #define USBHID_KEY_T 0x17 |
| 23 | #define USBHID_KEY_U 0x18 |
| 24 | #define USBHID_KEY_V 0x19 |
| 25 | #define USBHID_KEY_W 0x1a |
| 26 | #define USBHID_KEY_X 0x1b |
| 27 | #define USBHID_KEY_Y 0x1c |
| 28 | #define USBHID_KEY_Z 0x1d |
| 29 | #define USBHID_KEY_1 0x1e |
| 30 | #define USBHID_KEY_2 0x1f |
| 31 | #define USBHID_KEY_3 0x20 |
| 32 | #define USBHID_KEY_4 0x21 |
| 33 | #define USBHID_KEY_5 0x22 |
| 34 | #define USBHID_KEY_6 0x23 |
| 35 | #define USBHID_KEY_7 0x24 |
| 36 | #define USBHID_KEY_8 0x25 |
| 37 | #define USBHID_KEY_9 0x26 |
| 38 | #define USBHID_KEY_0 0x27 |
| 39 | #define USBHID_KEY_RETURN 0x28 |
| 40 | #define USBHID_KEY_ESC 0x29 |
| 41 | #define USBHID_KEY_BACKSPACE 0x2a |
| 42 | #define USBHID_KEY_TAB 0x2b |
| 43 | #define USBHID_KEY_SPACE 0x2c |
| 44 | #define USBHID_KEY_MINUS 0x2d |
| 45 | #define USBHID_KEY_EQUAL 0x2e |
| 46 | #define USBHID_KEY_LEFTBRACE 0x2f |
| 47 | #define USBHID_KEY_RIGHTBRACE 0x30 |
| 48 | #define USBHID_KEY_BACKSLASH 0x31 |
| 49 | #define USBHID_KEY_HASH 0x32 |
| 50 | #define USBHID_KEY_SEMICOLON 0x33 |
| 51 | #define USBHID_KEY_APOSTROPHE 0x34 |
| 52 | #define USBHID_KEY_GRAVE 0x35 |
| 53 | #define USBHID_KEY_COMMA 0x36 |
| 54 | #define USBHID_KEY_DOT 0x37 |
| 55 | #define USBHID_KEY_SLASH 0x38 |
| 56 | #define USBHID_KEY_CAPSLOCK 0x39 |
| 57 | #define USBHID_KEY_F1 0x3a |
| 58 | #define USBHID_KEY_F2 0x3b |
| 59 | #define USBHID_KEY_F3 0x3c |
| 60 | #define USBHID_KEY_F4 0x3d |
| 61 | #define USBHID_KEY_F5 0x3e |
| 62 | #define USBHID_KEY_F6 0x3f |
| 63 | #define USBHID_KEY_F7 0x40 |
| 64 | #define USBHID_KEY_F8 0x41 |
| 65 | #define USBHID_KEY_F9 0x42 |
| 66 | #define USBHID_KEY_F10 0x43 |
| 67 | #define USBHID_KEY_F11 0x44 |
| 68 | #define USBHID_KEY_F12 0x45 |
| 69 | #define USBHID_KEY_PRINT 0x46 |
| 70 | #define USBHID_KEY_SCROLLLOCK 0x47 |
| 71 | #define USBHID_KEY_PAUSE 0x48 |
| 72 | #define USBHID_KEY_INSERT 0x49 |
| 73 | #define USBHID_KEY_HOME 0x4a |
| 74 | #define USBHID_KEY_PAGEUP 0x4b |
| 75 | #define USBHID_KEY_DELETE 0x4c |
| 76 | #define USBHID_KEY_END 0x4d |
| 77 | #define USBHID_KEY_PAGEDOWN 0x4e |
| 78 | #define USBHID_KEY_RIGHT 0x4f |
| 79 | #define USBHID_KEY_LEFT 0x50 |
| 80 | #define USBHID_KEY_DOWN 0x51 |
| 81 | #define USBHID_KEY_UP 0x52 |
| 82 | #define USBHID_KEY_NUMLOCK 0x53 |
Jae Hyun Yoo | 513d95e | 2019-08-20 11:26:53 -0700 | [diff] [blame] | 83 | #define USBHID_KEY_KP_DIVIDE 0x54 |
| 84 | #define USBHID_KEY_KP_MULTIPLY 0x55 |
| 85 | #define USBHID_KEY_KP_SUBTRACT 0x56 |
| 86 | #define USBHID_KEY_KP_ADD 0x57 |
| 87 | #define USBHID_KEY_KP_ENTER 0x58 |
| 88 | #define USBHID_KEY_KP_1 0x59 |
| 89 | #define USBHID_KEY_KP_2 0x5a |
| 90 | #define USBHID_KEY_KP_3 0x5b |
| 91 | #define USBHID_KEY_KP_4 0x5c |
| 92 | #define USBHID_KEY_KP_5 0x5d |
| 93 | #define USBHID_KEY_KP_6 0x5e |
| 94 | #define USBHID_KEY_KP_7 0x5f |
| 95 | #define USBHID_KEY_KP_8 0x60 |
| 96 | #define USBHID_KEY_KP_9 0x61 |
| 97 | #define USBHID_KEY_KP_0 0x62 |
| 98 | #define USBHID_KEY_KP_DECIMAL 0x63 |
| 99 | #define USBHID_KEY_KP_EQUAL 0x67 |