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