2 /* Scancodes for the Linux framebuffer console
3 - Taken with thanks from SVGAlib 1.4.0
6 #define SCANCODE_ESCAPE 1
19 #define SCANCODE_MINUS 12
20 #define SCANCODE_EQUAL 13
22 #define SCANCODE_BACKSPACE 14
23 #define SCANCODE_TAB 15
35 #define SCANCODE_BRACKET_LEFT 26
36 #define SCANCODE_BRACKET_RIGHT 27
38 #define SCANCODE_ENTER 28
40 #define SCANCODE_LEFTCONTROL 29
51 #define SCANCODE_SEMICOLON 39
52 #define SCANCODE_APOSTROPHE 40
53 #define SCANCODE_GRAVE 41
55 #define SCANCODE_LEFTSHIFT 42
56 #define SCANCODE_BACKSLASH 43
65 #define SCANCODE_COMMA 51
66 #define SCANCODE_PERIOD 52
67 #define SCANCODE_SLASH 53
69 #define SCANCODE_RIGHTSHIFT 54
70 #define SCANCODE_KEYPADMULTIPLY 55
72 #define SCANCODE_LEFTALT 56
73 #define SCANCODE_SPACE 57
74 #define SCANCODE_CAPSLOCK 58
76 #define SCANCODE_F1 59
77 #define SCANCODE_F2 60
78 #define SCANCODE_F3 61
79 #define SCANCODE_F4 62
80 #define SCANCODE_F5 63
81 #define SCANCODE_F6 64
82 #define SCANCODE_F7 65
83 #define SCANCODE_F8 66
84 #define SCANCODE_F9 67
85 #define SCANCODE_F10 68
87 #define SCANCODE_NUMLOCK 69
88 #define SCANCODE_SCROLLLOCK 70
90 #define SCANCODE_KEYPAD7 71
91 #define SCANCODE_CURSORUPLEFT 71
92 #define SCANCODE_KEYPAD8 72
93 #define SCANCODE_CURSORUP 72
94 #define SCANCODE_KEYPAD9 73
95 #define SCANCODE_CURSORUPRIGHT 73
96 #define SCANCODE_KEYPADMINUS 74
97 #define SCANCODE_KEYPAD4 75
98 #define SCANCODE_CURSORLEFT 75
99 #define SCANCODE_KEYPAD5 76
100 #define SCANCODE_KEYPAD6 77
101 #define SCANCODE_CURSORRIGHT 77
102 #define SCANCODE_KEYPADPLUS 78
103 #define SCANCODE_KEYPAD1 79
104 #define SCANCODE_CURSORDOWNLEFT 79
105 #define SCANCODE_KEYPAD2 80
106 #define SCANCODE_CURSORDOWN 80
107 #define SCANCODE_KEYPAD3 81
108 #define SCANCODE_CURSORDOWNRIGHT 81
109 #define SCANCODE_KEYPAD0 82
110 #define SCANCODE_KEYPADPERIOD 83
112 #define SCANCODE_LESS 86
114 #define SCANCODE_F11 87
115 #define SCANCODE_F12 88
117 #define SCANCODE_KEYPADENTER 96
118 #define SCANCODE_RIGHTCONTROL 97
119 #define SCANCODE_CONTROL 97
120 #define SCANCODE_KEYPADDIVIDE 98
121 #define SCANCODE_PRINTSCREEN 99
122 #define SCANCODE_RIGHTALT 100
123 #define SCANCODE_BREAK 101 /* Beware: is 119 */
124 #define SCANCODE_BREAK_ALTERNATIVE 119 /* on some keyboards! */
126 #define SCANCODE_HOME 102
127 #define SCANCODE_CURSORBLOCKUP 103 /* Cursor key block */
128 #define SCANCODE_PAGEUP 104
129 #define SCANCODE_CURSORBLOCKLEFT 105 /* Cursor key block */
130 #define SCANCODE_CURSORBLOCKRIGHT 106 /* Cursor key block */
131 #define SCANCODE_END 107
132 #define SCANCODE_CURSORBLOCKDOWN 108 /* Cursor key block */
133 #define SCANCODE_PAGEDOWN 109
134 #define SCANCODE_INSERT 110
135 #define SCANCODE_REMOVE 111
137 #define SCANCODE_RIGHTWIN 126
138 #define SCANCODE_LEFTWIN 125