input.h 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. /****************************************************************************
  2. ****************************************************************************
  3. ***
  4. *** This header was automatically generated from a Linux kernel header
  5. *** of the same name, to make information necessary for userspace to
  6. *** call into the kernel available to libc. It contains only constants,
  7. *** structures, and macros generated from the original header, and thus,
  8. *** contains no copyrightable information.
  9. ***
  10. ****************************************************************************
  11. ****************************************************************************/
  12. #ifndef _INPUT_H
  13. #define _INPUT_H
  14. #define KEY_RESERVED 0
  15. #define KEY_ESC 1
  16. #define KEY_1 2
  17. #define KEY_2 3
  18. #define KEY_3 4
  19. #define KEY_4 5
  20. #define KEY_5 6
  21. #define KEY_6 7
  22. #define KEY_7 8
  23. #define KEY_8 9
  24. #define KEY_9 10
  25. #define KEY_0 11
  26. #define KEY_MINUS 12
  27. #define KEY_EQUAL 13
  28. #define KEY_BACKSPACE 14
  29. #define KEY_TAB 15
  30. #define KEY_Q 16
  31. #define KEY_W 17
  32. #define KEY_E 18
  33. #define KEY_R 19
  34. #define KEY_T 20
  35. #define KEY_Y 21
  36. #define KEY_U 22
  37. #define KEY_I 23
  38. #define KEY_O 24
  39. #define KEY_P 25
  40. #define KEY_LEFTBRACE 26
  41. #define KEY_RIGHTBRACE 27
  42. #define KEY_ENTER 28
  43. #define KEY_LEFTCTRL 29
  44. #define KEY_A 30
  45. #define KEY_S 31
  46. #define KEY_D 32
  47. #define KEY_F 33
  48. #define KEY_G 34
  49. #define KEY_H 35
  50. #define KEY_J 36
  51. #define KEY_K 37
  52. #define KEY_L 38
  53. #define KEY_SEMICOLON 39
  54. #define KEY_APOSTROPHE 40
  55. #define KEY_GRAVE 41
  56. #define KEY_LEFTSHIFT 42
  57. #define KEY_BACKSLASH 43
  58. #define KEY_Z 44
  59. #define KEY_X 45
  60. #define KEY_C 46
  61. #define KEY_V 47
  62. #define KEY_B 48
  63. #define KEY_N 49
  64. #define KEY_M 50
  65. #define KEY_COMMA 51
  66. #define KEY_DOT 52
  67. #define KEY_SLASH 53
  68. #define KEY_RIGHTSHIFT 54
  69. #define KEY_KPASTERISK 55
  70. #define KEY_LEFTALT 56
  71. #define KEY_SPACE 57
  72. #define KEY_CAPSLOCK 58
  73. #define KEY_F1 59
  74. #define KEY_F2 60
  75. #define KEY_F3 61
  76. #define KEY_F4 62
  77. #define KEY_F5 63
  78. #define KEY_F6 64
  79. #define KEY_F7 65
  80. #define KEY_F8 66
  81. #define KEY_F9 67
  82. #define KEY_F10 68
  83. #define KEY_NUMLOCK 69
  84. #define KEY_SCROLLLOCK 70
  85. #define KEY_KP7 71
  86. #define KEY_KP8 72
  87. #define KEY_KP9 73
  88. #define KEY_KPMINUS 74
  89. #define KEY_KP4 75
  90. #define KEY_KP5 76
  91. #define KEY_KP6 77
  92. #define KEY_KPPLUS 78
  93. #define KEY_KP1 79
  94. #define KEY_KP2 80
  95. #define KEY_KP3 81
  96. #define KEY_KP0 82
  97. #define KEY_KPDOT 83
  98. #define KEY_ZENKAKUHANKAKU 85
  99. #define KEY_102ND 86
  100. #define KEY_F11 87
  101. #define KEY_F12 88
  102. #define KEY_RO 89
  103. #define KEY_KATAKANA 90
  104. #define KEY_HIRAGANA 91
  105. #define KEY_HENKAN 92
  106. #define KEY_KATAKANAHIRAGANA 93
  107. #define KEY_MUHENKAN 94
  108. #define KEY_KPJPCOMMA 95
  109. #define KEY_KPENTER 96
  110. #define KEY_RIGHTCTRL 97
  111. #define KEY_KPSLASH 98
  112. #define KEY_SYSRQ 99
  113. #define KEY_RIGHTALT 100
  114. #define KEY_LINEFEED 101
  115. #define KEY_HOME 102
  116. #define KEY_UP 103
  117. #define KEY_PAGEUP 104
  118. #define KEY_LEFT 105
  119. #define KEY_RIGHT 106
  120. #define KEY_END 107
  121. #define KEY_DOWN 108
  122. #define KEY_PAGEDOWN 109
  123. #define KEY_INSERT 110
  124. #define KEY_DELETE 111
  125. #define KEY_MACRO 112
  126. #define KEY_MUTE 113
  127. #define KEY_VOLUMEDOWN 114
  128. #define KEY_VOLUMEUP 115
  129. #define KEY_POWER 116
  130. #define KEY_KPEQUAL 117
  131. #define KEY_KPPLUSMINUS 118
  132. #define KEY_PAUSE 119
  133. #define KEY_KPCOMMA 121
  134. #define KEY_HANGEUL 122
  135. #define KEY_HANGUEL KEY_HANGEUL
  136. #define KEY_HANJA 123
  137. #define KEY_YEN 124
  138. #define KEY_LEFTMETA 125
  139. #define KEY_RIGHTMETA 126
  140. #define KEY_COMPOSE 127
  141. #define KEY_STOP 128
  142. #define KEY_AGAIN 129
  143. #define KEY_PROPS 130
  144. #define KEY_UNDO 131
  145. #define KEY_FRONT 132
  146. #define KEY_COPY 133
  147. #define KEY_OPEN 134
  148. #define KEY_PASTE 135
  149. #define KEY_FIND 136
  150. #define KEY_CUT 137
  151. #define KEY_HELP 138
  152. #define KEY_MENU 139
  153. #define KEY_CALC 140
  154. #define KEY_SETUP 141
  155. #define KEY_SLEEP 142
  156. #define KEY_WAKEUP 143
  157. #define KEY_FILE 144
  158. #define KEY_SENDFILE 145
  159. #define KEY_DELETEFILE 146
  160. #define KEY_XFER 147
  161. #define KEY_PROG1 148
  162. #define KEY_PROG2 149
  163. #define KEY_WWW 150
  164. #define KEY_MSDOS 151
  165. #define KEY_COFFEE 152
  166. #define KEY_DIRECTION 153
  167. #define KEY_CYCLEWINDOWS 154
  168. #define KEY_MAIL 155
  169. #define KEY_BOOKMARKS 156
  170. #define KEY_COMPUTER 157
  171. #define KEY_BACK 158
  172. #define KEY_FORWARD 159
  173. #define KEY_CLOSECD 160
  174. #define KEY_EJECTCD 161
  175. #define KEY_EJECTCLOSECD 162
  176. #define KEY_NEXTSONG 163
  177. #define KEY_PLAYPAUSE 164
  178. #define KEY_PREVIOUSSONG 165
  179. #define KEY_STOPCD 166
  180. #define KEY_RECORD 167
  181. #define KEY_REWIND 168
  182. #define KEY_PHONE 169
  183. #define KEY_ISO 170
  184. #define KEY_CONFIG 171
  185. #define KEY_HOMEPAGE 172
  186. #define KEY_REFRESH 173
  187. #define KEY_EXIT 174
  188. #define KEY_MOVE 175
  189. #define KEY_EDIT 176
  190. #define KEY_SCROLLUP 177
  191. #define KEY_SCROLLDOWN 178
  192. #define KEY_KPLEFTPAREN 179
  193. #define KEY_KPRIGHTPAREN 180
  194. #define KEY_NEW 181
  195. #define KEY_REDO 182
  196. #define KEY_F13 183
  197. #define KEY_F14 184
  198. #define KEY_F15 185
  199. #define KEY_F16 186
  200. #define KEY_F17 187
  201. #define KEY_F18 188
  202. #define KEY_F19 189
  203. #define KEY_F20 190
  204. #define KEY_F21 191
  205. #define KEY_F22 192
  206. #define KEY_F23 193
  207. #define KEY_F24 194
  208. #define KEY_PLAYCD 200
  209. #define KEY_PAUSECD 201
  210. #define KEY_PROG3 202
  211. #define KEY_PROG4 203
  212. #define KEY_SUSPEND 205
  213. #define KEY_CLOSE 206
  214. #define KEY_PLAY 207
  215. #define KEY_FASTFORWARD 208
  216. #define KEY_BASSBOOST 209
  217. #define KEY_PRINT 210
  218. #define KEY_HP 211
  219. #define KEY_CAMERA 212
  220. #define KEY_SOUND 213
  221. #define KEY_QUESTION 214
  222. #define KEY_EMAIL 215
  223. #define KEY_CHAT 216
  224. #define KEY_SEARCH 217
  225. #define KEY_CONNECT 218
  226. #define KEY_FINANCE 219
  227. #define KEY_SPORT 220
  228. #define KEY_SHOP 221
  229. #define KEY_ALTERASE 222
  230. #define KEY_CANCEL 223
  231. #define KEY_BRIGHTNESSDOWN 224
  232. #define KEY_BRIGHTNESSUP 225
  233. #define KEY_MEDIA 226
  234. #define KEY_STAR 227
  235. #define KEY_SHARP 228
  236. #define KEY_SOFT1 229
  237. #define KEY_SOFT2 230
  238. #define KEY_SEND 231
  239. #define KEY_CENTER 232
  240. #define KEY_HEADSETHOOK 233
  241. #define KEY_0_5 234
  242. #define KEY_2_5 235
  243. #define KEY_SWITCHVIDEOMODE 236
  244. #define KEY_KBDILLUMTOGGLE 237
  245. #define KEY_KBDILLUMDOWN 238
  246. #define KEY_KBDILLUMUP 239
  247. #define KEY_SEND 231
  248. #define KEY_REPLY 232
  249. #define KEY_FORWARDMAIL 233
  250. #define KEY_SAVE 234
  251. #define KEY_DOCUMENTS 235
  252. #define KEY_BATTERY 236
  253. #define KEY_UNKNOWN 240
  254. #define KEY_OK 0x160
  255. #define KEY_SELECT 0x161
  256. #define KEY_GOTO 0x162
  257. #define KEY_CLEAR 0x163
  258. #define KEY_POWER2 0x164
  259. #define KEY_OPTION 0x165
  260. #define KEY_INFO 0x166
  261. #define KEY_TIME 0x167
  262. #define KEY_VENDOR 0x168
  263. #define KEY_ARCHIVE 0x169
  264. #define KEY_PROGRAM 0x16a
  265. #define KEY_CHANNEL 0x16b
  266. #define KEY_FAVORITES 0x16c
  267. #define KEY_EPG 0x16d
  268. #define KEY_PVR 0x16e
  269. #define KEY_MHP 0x16f
  270. #define KEY_LANGUAGE 0x170
  271. #define KEY_TITLE 0x171
  272. #define KEY_SUBTITLE 0x172
  273. #define KEY_ANGLE 0x173
  274. #define KEY_ZOOM 0x174
  275. #define KEY_MODE 0x175
  276. #define KEY_KEYBOARD 0x176
  277. #define KEY_SCREEN 0x177
  278. #define KEY_PC 0x178
  279. #define KEY_TV 0x179
  280. #define KEY_TV2 0x17a
  281. #define KEY_VCR 0x17b
  282. #define KEY_VCR2 0x17c
  283. #define KEY_SAT 0x17d
  284. #define KEY_SAT2 0x17e
  285. #define KEY_CD 0x17f
  286. #define KEY_TAPE 0x180
  287. #define KEY_RADIO 0x181
  288. #define KEY_TUNER 0x182
  289. #define KEY_PLAYER 0x183
  290. #define KEY_TEXT 0x184
  291. #define KEY_DVD 0x185
  292. #define KEY_AUX 0x186
  293. #define KEY_MP3 0x187
  294. #define KEY_AUDIO 0x188
  295. #define KEY_VIDEO 0x189
  296. #define KEY_DIRECTORY 0x18a
  297. #define KEY_LIST 0x18b
  298. #define KEY_MEMO 0x18c
  299. #define KEY_CALENDAR 0x18d
  300. #define KEY_RED 0x18e
  301. #define KEY_GREEN 0x18f
  302. #define KEY_YELLOW 0x190
  303. #define KEY_BLUE 0x191
  304. #define KEY_CHANNELUP 0x192
  305. #define KEY_CHANNELDOWN 0x193
  306. #define KEY_FIRST 0x194
  307. #define KEY_LAST 0x195
  308. #define KEY_AB 0x196
  309. #define KEY_NEXT 0x197
  310. #define KEY_RESTART 0x198
  311. #define KEY_SLOW 0x199
  312. #define KEY_SHUFFLE 0x19a
  313. #define KEY_BREAK 0x19b
  314. #define KEY_PREVIOUS 0x19c
  315. #define KEY_DIGITS 0x19d
  316. #define KEY_TEEN 0x19e
  317. #define KEY_TWEN 0x19f
  318. #define KEY_DEL_EOL 0x1c0
  319. #define KEY_DEL_EOS 0x1c1
  320. #define KEY_INS_LINE 0x1c2
  321. #define KEY_DEL_LINE 0x1c3
  322. #define KEY_FN 0x1d0
  323. #define KEY_FN_ESC 0x1d1
  324. #define KEY_FN_F1 0x1d2
  325. #define KEY_FN_F2 0x1d3
  326. #define KEY_FN_F3 0x1d4
  327. #define KEY_FN_F4 0x1d5
  328. #define KEY_FN_F5 0x1d6
  329. #define KEY_FN_F6 0x1d7
  330. #define KEY_FN_F7 0x1d8
  331. #define KEY_FN_F8 0x1d9
  332. #define KEY_FN_F9 0x1da
  333. #define KEY_FN_F10 0x1db
  334. #define KEY_FN_F11 0x1dc
  335. #define KEY_FN_F12 0x1dd
  336. #define KEY_FN_1 0x1de
  337. #define KEY_FN_2 0x1df
  338. #define KEY_FN_D 0x1e0
  339. #define KEY_FN_E 0x1e1
  340. #define KEY_FN_F 0x1e2
  341. #define KEY_FN_S 0x1e3
  342. #define KEY_FN_B 0x1e4
  343. #define KEY_BRL_DOT1 0x1f1
  344. #define KEY_BRL_DOT2 0x1f2
  345. #define KEY_BRL_DOT3 0x1f3
  346. #define KEY_BRL_DOT4 0x1f4
  347. #define KEY_BRL_DOT5 0x1f5
  348. #define KEY_BRL_DOT6 0x1f6
  349. #define KEY_BRL_DOT7 0x1f7
  350. #define KEY_BRL_DOT8 0x1f8
  351. #define KEY_MIN_INTERESTING KEY_MUTE
  352. #define KEY_MAX 0x1ff
  353. #endif