2 * Copyright (c) 1999-2002 Vojtech Pavlik
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
10 #define _LINUX_INPUT_H
15 * Most of the keys/buttons are modeled after USB HUT 1.12
16 * (see http://www.usb.org/developers/hidpage).
17 * Abbreviations in the comments:
18 * AC - Application Control
19 * AL - Application Launch Button
23 #define KEY_RESERVED 0
37 #define KEY_BACKSPACE 14
49 #define KEY_LEFTBRACE 26
50 #define KEY_RIGHTBRACE 27
52 #define KEY_LEFTCTRL 29
62 #define KEY_SEMICOLON 39
63 #define KEY_APOSTROPHE 40
65 #define KEY_LEFTSHIFT 42
66 #define KEY_BACKSLASH 43
77 #define KEY_RIGHTSHIFT 54
78 #define KEY_KPASTERISK 55
79 #define KEY_LEFTALT 56
81 #define KEY_CAPSLOCK 58
92 #define KEY_NUMLOCK 69
93 #define KEY_SCROLLLOCK 70
97 #define KEY_KPMINUS 74
101 #define KEY_KPPLUS 78
108 #define KEY_ZENKAKUHANKAKU 85
113 #define KEY_KATAKANA 90
114 #define KEY_HIRAGANA 91
115 #define KEY_HENKAN 92
116 #define KEY_KATAKANAHIRAGANA 93
117 #define KEY_MUHENKAN 94
118 #define KEY_KPJPCOMMA 95
119 #define KEY_KPENTER 96
120 #define KEY_RIGHTCTRL 97
121 #define KEY_KPSLASH 98
123 #define KEY_RIGHTALT 100
124 #define KEY_LINEFEED 101
127 #define KEY_PAGEUP 104
129 #define KEY_RIGHT 106
132 #define KEY_PAGEDOWN 109
133 #define KEY_INSERT 110
134 #define KEY_DELETE 111
135 #define KEY_MACRO 112
137 #define KEY_VOLUMEDOWN 114
138 #define KEY_VOLUMEUP 115
139 #define KEY_POWER 116 /* SC System Power Down */
140 #define KEY_KPEQUAL 117
141 #define KEY_KPPLUSMINUS 118
142 #define KEY_PAUSE 119
143 #define KEY_SCALE 120 /* AL Compiz Scale (Expose) */
145 #define KEY_KPCOMMA 121
146 #define KEY_HANGEUL 122
147 #define KEY_HANGUEL KEY_HANGEUL
148 #define KEY_HANJA 123
150 #define KEY_LEFTMETA 125
151 #define KEY_RIGHTMETA 126
152 #define KEY_COMPOSE 127