-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,980 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
const uint8_t KEY_LEFT_CTRL = 0x80; | ||
const uint8_t KEY_LEFT_SHIFT = 0x81; | ||
const uint8_t KEY_LEFT_ALT = 0x82; | ||
const uint8_t KEY_LEFT_GUI = 0x83; | ||
const uint8_t KEY_RIGHT_CTRL = 0x84; | ||
const uint8_t KEY_RIGHT_SHIFT = 0x85; | ||
const uint8_t KEY_RIGHT_ALT = 0x86; | ||
const uint8_t KEY_RIGHT_GUI = 0x87; | ||
|
||
const uint8_t KEY_UP_ARROW = 0xDA; | ||
const uint8_t KEY_DOWN_ARROW = 0xD9; | ||
const uint8_t KEY_LEFT_ARROW = 0xD8; | ||
const uint8_t KEY_RIGHT_ARROW = 0xD7; | ||
const uint8_t KEY_BACKSPACE = 0xB2; | ||
const uint8_t KEY_TAB = 0xB3; | ||
const uint8_t KEY_RETURN = 0xB0; | ||
const uint8_t KEY_ESC = 0xB1; | ||
const uint8_t KEY_INSERT = 0xD1; | ||
const uint8_t KEY_DELETE = 0xD4; | ||
const uint8_t KEY_PAGE_UP = 0xD3; | ||
const uint8_t KEY_PAGE_DOWN = 0xD6; | ||
const uint8_t KEY_HOME = 0xD2; | ||
const uint8_t KEY_END = 0xD5; | ||
const uint8_t KEY_CAPS_LOCK = 0xC1; | ||
const uint8_t KEY_F1 = 0xC2; | ||
const uint8_t KEY_F2 = 0xC3; | ||
const uint8_t KEY_F3 = 0xC4; | ||
const uint8_t KEY_F4 = 0xC5; | ||
const uint8_t KEY_F5 = 0xC6; | ||
const uint8_t KEY_F6 = 0xC7; | ||
const uint8_t KEY_F7 = 0xC8; | ||
const uint8_t KEY_F8 = 0xC9; | ||
const uint8_t KEY_F9 = 0xCA; | ||
const uint8_t KEY_F10 = 0xCB; | ||
const uint8_t KEY_F11 = 0xCC; | ||
const uint8_t KEY_F12 = 0xCD; | ||
const uint8_t KEY_F13 = 0xF0; | ||
const uint8_t KEY_F14 = 0xF1; | ||
const uint8_t KEY_F15 = 0xF2; | ||
const uint8_t KEY_F16 = 0xF3; | ||
const uint8_t KEY_F17 = 0xF4; | ||
const uint8_t KEY_F18 = 0xF5; | ||
const uint8_t KEY_F19 = 0xF6; | ||
const uint8_t KEY_F20 = 0xF7; | ||
const uint8_t KEY_F21 = 0xF8; | ||
const uint8_t KEY_F22 = 0xF9; | ||
const uint8_t KEY_F23 = 0xFA; | ||
const uint8_t KEY_F24 = 0xFB; | ||
|
||
#define KEY_MENU 0xED | ||
#define KEY_PAUSE 0xD0 | ||
#define KEY_NUMLOCK 0xDB | ||
#define KEY_PRINTSCREEN 0xCE | ||
#define KEY_SCROLLLOCK 0xCF | ||
#define KEY_SPACE 0xB4 | ||
#define KEY_BACKSPACE 0xB2 | ||
#define KEY_DOWN_ARROW 0xD9 |
Oops, something went wrong.