1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
12 * Most of the keys/buttons are modeled after USB HUT 1.12
13 * (see http://www.usb.org/developers/hidpage).
14 * Abbreviations in the comments:
15 * AC - Application Control
16 * AL - Application Launch Button
20 #define KEY_RESERVED 0
34 #define KEY_BACKSPACE 14
46 #define KEY_LEFTBRACE 26
47 #define KEY_RIGHTBRACE 27
49 #define KEY_LEFTCTRL 29
59 #define KEY_SEMICOLON 39
60 #define KEY_APOSTROPHE 40
62 #define KEY_LEFTSHIFT 42
63 #define KEY_BACKSLASH 43
74 #define KEY_RIGHTSHIFT 54
75 #define KEY_KPASTERISK 55
76 #define KEY_LEFTALT 56
78 #define KEY_CAPSLOCK 58
89 #define KEY_NUMLOCK 69
90 #define KEY_SCROLLLOCK 70
94 #define KEY_KPMINUS 74
105 #define KEY_ZENKAKUHANKAKU 85
110 #define KEY_KATAKANA 90
111 #define KEY_HIRAGANA 91
112 #define KEY_HENKAN 92
113 #define KEY_KATAKANAHIRAGANA 93
114 #define KEY_MUHENKAN 94
115 #define KEY_KPJPCOMMA 95
116 #define KEY_KPENTER 96
117 #define KEY_RIGHTCTRL 97
118 #define KEY_KPSLASH 98
120 #define KEY_RIGHTALT 100
121 #define KEY_LINEFEED 101
124 #define KEY_PAGEUP 104
126 #define KEY_RIGHT 106
129 #define KEY_PAGEDOWN 109
130 #define KEY_INSERT 110
131 #define KEY_DELETE 111
132 #define KEY_MACRO 112
134 #define KEY_VOLUMEDOWN 114
135 #define KEY_VOLUMEUP 115
136 #define KEY_POWER 116 /* SC System Power Down */
137 #define KEY_KPEQUAL 117
138 #define KEY_KPPLUSMINUS 118
139 #define KEY_PAUSE 119
140 #define KEY_SCALE 120 /* AL Compiz Scale (Expose) */
142 #define KEY_KPCOMMA 121
143 #define KEY_HANGEUL 122
144 #define KEY_HANGUEL KEY_HANGEUL
145 #define KEY_HANJA 123
147 #define KEY_LEFTMETA 125
148 #define KEY_RIGHTMETA 126
149 #define KEY_COMPOSE 127