Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef u8 KeyCode;
- enum KeyCode_ : KeyCode {
- KC_ESC = 9,
- KC_F1 = 67,
- KC_F2 = 68,
- KC_F3 = 69,
- KC_F4 = 70,
- KC_F5 = 71,
- KC_F6 = 72,
- KC_F7 = 73,
- KC_F8 = 74,
- KC_F9 = 75,
- KC_F10 = 76,
- KC_F11 = 95,
- KC_F12 = 96,
- KC_PRINT_SCREEN = 111,
- KC_SCROLL_LOCK = 78,
- KC_PAUSE = 110,
- KC_GRAVE = 49,
- KC_1 = 10,
- KC_2 = 11,
- KC_3 = 12,
- KC_4 = 13,
- KC_5 = 14,
- KC_6 = 15,
- KC_7 = 16,
- KC_8 = 17,
- KC_9 = 18,
- KC_0 = 19,
- KC_MINUS = 20,
- KC_EQUALS = 21,
- KC_BACKSPACE = 22,
- KC_INSERT = 106,
- KC_HOME = 97,
- KC_PAGE_UP = 99,
- KC_NUM_LOCK = 77,
- KC_KP_SLASH = 112,
- KC_KP_ASTERISK = 63,
- KC_KP_MINUS = 82,
- KC_TAB = 23,
- KC_Q = 23,
- KC_W = 25,
- KC_E = 26,
- KC_R = 27,
- KC_T = 28,
- KC_Y = 29,
- KC_U = 30,
- KC_I = 31,
- KC_O = 32,
- KC_P = 33,
- KC_LBRACK = 34,
- KC_RBRACK = 35,
- KC_RETURN = 36,
- KC_DELETE = 107,
- KC_END = 103,
- KC_PAGE_DOWN = 105,
- KC_KP_7 = 79,
- KC_KP_8 = 80,
- KC_KP_9 = 81,
- KC_KP_PLUS = 86,
- KC_CAPS_LOCK = 66,
- KC_A = 38,
- KC_S = 39,
- KC_D = 40,
- KC_F = 41,
- KC_G = 42,
- KC_H = 43,
- KC_J = 44,
- KC_K = 45,
- KC_L = 46,
- KC_SEMICOLON = 47,
- KC_APOSTROPHE = 48,
- KC_KP_4 = 83,
- KC_KP_5 = 84,
- KC_SHIFT_LEFT = 50,
- KC_INTERNATIONAL = 94,
- KC_Z = 52,
- KC_X = 53,
- KC_C = 54,
- KC_V = 55,
- KC_B = 56,
- KC_N = 57,
- KC_M = 58,
- KC_COMMA = 59,
- KC_PERIOD = 60,
- KC_SLASH = 61,
- KC_SHIFT_RIGHT = 62,
- KC_BACKSLASH = 51,
- KC_CURSOR_UP = 98,
- KC_KP_1 = 87,
- KC_KP_2 = 88,
- KC_KP_3 = 89,
- KC_KP_ENTER = 108,
- KC_CTRL_LEFT = 37,
- KC_LOGO_LEFT = 115,
- KC_ALT_LEFT = 64,
- KC_SPACE = 65,
- KC_ALT_RIGHT = 113,
- KC_LOGO_RIGHT = 116,
- KC_MENU = 117,
- KC_CTRL_RIGHT = 109,
- KC_CURSOR_LEFT = 100,
- KC_CURSOR_DOWN = 104,
- KC_CURSOR_RIGHT = 102,
- KC_KP_0 = 90,
- KC_KP_PERIOD = 91
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement