1 module core.sys.linux.input_event_codes;
2 
3 version (linux):
4 extern(C):
5 nothrow:
6 
7 enum INPUT_PROP_POINTER              = 0x00;
8 enum INPUT_PROP_DIRECT               = 0x01;
9 enum INPUT_PROP_BUTTONPAD            = 0x02;
10 enum INPUT_PROP_SEMI_MT              = 0x03;
11 enum INPUT_PROP_TOPBUTTONPAD         = 0x04;
12 enum INPUT_PROP_POINTING_STICK       = 0x05;
13 enum INPUT_PROP_ACCELEROMETER        = 0x06;
14 
15 enum INPUT_PROP_MAX                  = 0x1f;
16 enum INPUT_PROP_CNT                  = (INPUT_PROP_MAX + 1);
17 
18 enum EV_SYN                  = 0x00;
19 enum EV_KEY                  = 0x01;
20 enum EV_REL                  = 0x02;
21 enum EV_ABS                  = 0x03;
22 enum EV_MSC                  = 0x04;
23 enum EV_SW                   = 0x05;
24 enum EV_LED                  = 0x11;
25 enum EV_SND                  = 0x12;
26 enum EV_REP                  = 0x14;
27 enum EV_FF                   = 0x15;
28 enum EV_PWR                  = 0x16;
29 enum EV_FF_STATUS            = 0x17;
30 enum EV_MAX                  = 0x1f;
31 enum EV_CNT                  = (EV_MAX+1);
32 
33 enum SYN_REPORT              = 0;
34 enum SYN_CONFIG              = 1;
35 enum SYN_MT_REPORT           = 2;
36 enum SYN_DROPPED             = 3;
37 enum SYN_MAX                 = 0xf;
38 enum SYN_CNT                 = (SYN_MAX+1);
39 
40 enum KEY_RESERVED            = 0;
41 enum KEY_ESC                 = 1;
42 enum KEY_1                   = 2;
43 enum KEY_2                   = 3;
44 enum KEY_3                   = 4;
45 enum KEY_4                   = 5;
46 enum KEY_5                   = 6;
47 enum KEY_6                   = 7;
48 enum KEY_7                   = 8;
49 enum KEY_8                   = 9;
50 enum KEY_9                   = 10;
51 enum KEY_0                   = 11;
52 enum KEY_MINUS               = 12;
53 enum KEY_EQUAL               = 13;
54 enum KEY_BACKSPACE           = 14;
55 enum KEY_TAB                 = 15;
56 enum KEY_Q                   = 16;
57 enum KEY_W                   = 17;
58 enum KEY_E                   = 18;
59 enum KEY_R                   = 19;
60 enum KEY_T                   = 20;
61 enum KEY_Y                   = 21;
62 enum KEY_U                   = 22;
63 enum KEY_I                   = 23;
64 enum KEY_O                   = 24;
65 enum KEY_P                   = 25;
66 enum KEY_LEFTBRACE           = 26;
67 enum KEY_RIGHTBRACE          = 27;
68 enum KEY_ENTER               = 28;
69 enum KEY_LEFTCTRL            = 29;
70 enum KEY_A                   = 30;
71 enum KEY_S                   = 31;
72 enum KEY_D                   = 32;
73 enum KEY_F                   = 33;
74 enum KEY_G                   = 34;
75 enum KEY_H                   = 35;
76 enum KEY_J                   = 36;
77 enum KEY_K                   = 37;
78 enum KEY_L                   = 38;
79 enum KEY_SEMICOLON           = 39;
80 enum KEY_APOSTROPHE          = 40;
81 enum KEY_GRAVE               = 41;
82 enum KEY_LEFTSHIFT           = 42;
83 enum KEY_BACKSLASH           = 43;
84 enum KEY_Z                   = 44;
85 enum KEY_X                   = 45;
86 enum KEY_C                   = 46;
87 enum KEY_V                   = 47;
88 enum KEY_B                   = 48;
89 enum KEY_N                   = 49;
90 enum KEY_M                   = 50;
91 enum KEY_COMMA               = 51;
92 enum KEY_DOT                 = 52;
93 enum KEY_SLASH               = 53;
94 enum KEY_RIGHTSHIFT          = 54;
95 enum KEY_KPASTERISK          = 55;
96 enum KEY_LEFTALT             = 56;
97 enum KEY_SPACE               = 57;
98 enum KEY_CAPSLOCK            = 58;
99 enum KEY_F1                  = 59;
100 enum KEY_F2                  = 60;
101 enum KEY_F3                  = 61;
102 enum KEY_F4                  = 62;
103 enum KEY_F5                  = 63;
104 enum KEY_F6                  = 64;
105 enum KEY_F7                  = 65;
106 enum KEY_F8                  = 66;
107 enum KEY_F9                  = 67;
108 enum KEY_F10                 = 68;
109 enum KEY_NUMLOCK             = 69;
110 enum KEY_SCROLLLOCK          = 70;
111 enum KEY_KP7                 = 71;
112 enum KEY_KP8                 = 72;
113 enum KEY_KP9                 = 73;
114 enum KEY_KPMINUS             = 74;
115 enum KEY_KP4                 = 75;
116 enum KEY_KP5                 = 76;
117 enum KEY_KP6                 = 77;
118 enum KEY_KPPLUS              = 78;
119 enum KEY_KP1                 = 79;
120 enum KEY_KP2                 = 80;
121 enum KEY_KP3                 = 81;
122 enum KEY_KP0                 = 82;
123 enum KEY_KPDOT               = 83;
124 
125 enum KEY_ZENKAKUHANKAKU      = 85;
126 enum KEY_102ND               = 86;
127 enum KEY_F11                 = 87;
128 enum KEY_F12                 = 88;
129 enum KEY_RO                  = 89;
130 enum KEY_KATAKANA            = 90;
131 enum KEY_HIRAGANA            = 91;
132 enum KEY_HENKAN              = 92;
133 enum KEY_KATAKANAHIRAGANA    = 93;
134 enum KEY_MUHENKAN            = 94;
135 enum KEY_KPJPCOMMA           = 95;
136 enum KEY_KPENTER             = 96;
137 enum KEY_RIGHTCTRL           = 97;
138 enum KEY_KPSLASH             = 98;
139 enum KEY_SYSRQ               = 99;
140 enum KEY_RIGHTALT            = 100;
141 enum KEY_LINEFEED            = 101;
142 enum KEY_HOME                = 102;
143 enum KEY_UP                  = 103;
144 enum KEY_PAGEUP              = 104;
145 enum KEY_LEFT                = 105;
146 enum KEY_RIGHT               = 106;
147 enum KEY_END                 = 107;
148 enum KEY_DOWN                = 108;
149 enum KEY_PAGEDOWN            = 109;
150 enum KEY_INSERT              = 110;
151 enum KEY_DELETE              = 111;
152 enum KEY_MACRO               = 112;
153 enum KEY_MUTE                = 113;
154 enum KEY_VOLUMEDOWN          = 114;
155 enum KEY_VOLUMEUP            = 115;
156 enum KEY_POWER               = 116;
157 enum KEY_KPEQUAL             = 117;
158 enum KEY_KPPLUSMINUS         = 118;
159 enum KEY_PAUSE               = 119;
160 enum KEY_SCALE               = 120;
161 
162 enum KEY_KPCOMMA             = 121;
163 enum KEY_HANGEUL             = 122;
164 enum KEY_HANGUEL             = KEY_HANGEUL;
165 enum KEY_HANJA               = 123;
166 enum KEY_YEN                 = 124;
167 enum KEY_LEFTMETA            = 125;
168 enum KEY_RIGHTMETA           = 126;
169 enum KEY_COMPOSE             = 127;
170 
171 enum KEY_STOP                = 128;
172 enum KEY_AGAIN               = 129;
173 enum KEY_PROPS               = 130;
174 enum KEY_UNDO                = 131;
175 enum KEY_FRONT               = 132;
176 enum KEY_COPY                = 133;
177 enum KEY_OPEN                = 134;
178 enum KEY_PASTE               = 135;
179 enum KEY_FIND                = 136;
180 enum KEY_CUT                 = 137;
181 enum KEY_HELP                = 138;
182 enum KEY_MENU                = 139;
183 enum KEY_CALC                = 140;
184 enum KEY_SETUP               = 141;
185 enum KEY_SLEEP               = 142;
186 enum KEY_WAKEUP              = 143;
187 enum KEY_FILE                = 144;
188 enum KEY_SENDFILE            = 145;
189 enum KEY_DELETEFILE          = 146;
190 enum KEY_XFER                = 147;
191 enum KEY_PROG1               = 148;
192 enum KEY_PROG2               = 149;
193 enum KEY_WWW                 = 150;
194 enum KEY_MSDOS               = 151;
195 enum KEY_COFFEE              = 152;
196 enum KEY_SCREENLOCK          = KEY_COFFEE;
197 enum KEY_ROTATE_DISPLAY      = 153;
198 enum KEY_DIRECTION           = KEY_ROTATE_DISPLAY;
199 enum KEY_CYCLEWINDOWS        = 154;
200 enum KEY_MAIL                = 155;
201 enum KEY_BOOKMARKS           = 156;
202 enum KEY_COMPUTER            = 157;
203 enum KEY_BACK                = 158;
204 enum KEY_FORWARD             = 159;
205 enum KEY_CLOSECD             = 160;
206 enum KEY_EJECTCD             = 161;
207 enum KEY_EJECTCLOSECD        = 162;
208 enum KEY_NEXTSONG            = 163;
209 enum KEY_PLAYPAUSE           = 164;
210 enum KEY_PREVIOUSSONG        = 165;
211 enum KEY_STOPCD              = 166;
212 enum KEY_RECORD              = 167;
213 enum KEY_REWIND              = 168;
214 enum KEY_PHONE               = 169;
215 enum KEY_ISO                 = 170;
216 enum KEY_CONFIG              = 171;
217 enum KEY_HOMEPAGE            = 172;
218 enum KEY_REFRESH             = 173;
219 enum KEY_EXIT                = 174;
220 enum KEY_MOVE                = 175;
221 enum KEY_EDIT                = 176;
222 enum KEY_SCROLLUP            = 177;
223 enum KEY_SCROLLDOWN          = 178;
224 enum KEY_KPLEFTPAREN         = 179;
225 enum KEY_KPRIGHTPAREN        = 180;
226 enum KEY_NEW                 = 181;
227 enum KEY_REDO                = 182;
228 
229 enum KEY_F13                 = 183;
230 enum KEY_F14                 = 184;
231 enum KEY_F15                 = 185;
232 enum KEY_F16                 = 186;
233 enum KEY_F17                 = 187;
234 enum KEY_F18                 = 188;
235 enum KEY_F19                 = 189;
236 enum KEY_F20                 = 190;
237 enum KEY_F21                 = 191;
238 enum KEY_F22                 = 192;
239 enum KEY_F23                 = 193;
240 enum KEY_F24                 = 194;
241 
242 enum KEY_PLAYCD              = 200;
243 enum KEY_PAUSECD             = 201;
244 enum KEY_PROG3               = 202;
245 enum KEY_PROG4               = 203;
246 enum KEY_DASHBOARD           = 204;
247 enum KEY_SUSPEND             = 205;
248 enum KEY_CLOSE               = 206;
249 enum KEY_PLAY                = 207;
250 enum KEY_FASTFORWARD         = 208;
251 enum KEY_BASSBOOST           = 209;
252 enum KEY_PRINT               = 210;
253 enum KEY_HP                  = 211;
254 enum KEY_CAMERA              = 212;
255 enum KEY_SOUND               = 213;
256 enum KEY_QUESTION            = 214;
257 enum KEY_EMAIL               = 215;
258 enum KEY_CHAT                = 216;
259 enum KEY_SEARCH              = 217;
260 enum KEY_CONNECT             = 218;
261 enum KEY_FINANCE             = 219;
262 enum KEY_SPORT               = 220;
263 enum KEY_SHOP                = 221;
264 enum KEY_ALTERASE            = 222;
265 enum KEY_CANCEL              = 223;
266 enum KEY_BRIGHTNESSDOWN      = 224;
267 enum KEY_BRIGHTNESSUP        = 225;
268 enum KEY_MEDIA               = 226;
269 
270 enum KEY_SWITCHVIDEOMODE     = 227;
271 enum KEY_KBDILLUMTOGGLE      = 228;
272 enum KEY_KBDILLUMDOWN        = 229;
273 enum KEY_KBDILLUMUP          = 230;
274 
275 enum KEY_SEND                = 231;
276 enum KEY_REPLY               = 232;
277 enum KEY_FORWARDMAIL         = 233;
278 enum KEY_SAVE                = 234;
279 enum KEY_DOCUMENTS           = 235;
280 
281 enum KEY_BATTERY             = 236;
282 
283 enum KEY_BLUETOOTH           = 237;
284 enum KEY_WLAN                = 238;
285 enum KEY_UWB                 = 239;
286 
287 enum KEY_UNKNOWN             = 240;
288 
289 enum KEY_VIDEO_NEXT          = 241;
290 enum KEY_VIDEO_PREV          = 242;
291 enum KEY_BRIGHTNESS_CYCLE    = 243;
292 enum KEY_BRIGHTNESS_AUTO     = 244;
293 enum KEY_BRIGHTNESS_ZERO     = KEY_BRIGHTNESS_AUTO;
294 enum KEY_DISPLAY_OFF         = 245;
295 
296 enum KEY_WWAN                = 246;
297 enum KEY_WIMAX               = KEY_WWAN;
298 enum KEY_RFKILL              = 247;
299 
300 enum KEY_MICMUTE             = 248;
301 
302 enum BTN_MISC                = 0x100;
303 enum BTN_0                   = 0x100;
304 enum BTN_1                   = 0x101;
305 enum BTN_2                   = 0x102;
306 enum BTN_3                   = 0x103;
307 enum BTN_4                   = 0x104;
308 enum BTN_5                   = 0x105;
309 enum BTN_6                   = 0x106;
310 enum BTN_7                   = 0x107;
311 enum BTN_8                   = 0x108;
312 enum BTN_9                   = 0x109;
313 
314 enum BTN_MOUSE               = 0x110;
315 enum BTN_LEFT                = 0x110;
316 enum BTN_RIGHT               = 0x111;
317 enum BTN_MIDDLE              = 0x112;
318 enum BTN_SIDE                = 0x113;
319 enum BTN_EXTRA               = 0x114;
320 enum BTN_FORWARD             = 0x115;
321 enum BTN_BACK                = 0x116;
322 enum BTN_TASK                = 0x117;
323 
324 enum BTN_JOYSTICK            = 0x120;
325 enum BTN_TRIGGER             = 0x120;
326 enum BTN_THUMB               = 0x121;
327 enum BTN_THUMB2              = 0x122;
328 enum BTN_TOP                 = 0x123;
329 enum BTN_TOP2                = 0x124;
330 enum BTN_PINKIE              = 0x125;
331 enum BTN_BASE                = 0x126;
332 enum BTN_BASE2               = 0x127;
333 enum BTN_BASE3               = 0x128;
334 enum BTN_BASE4               = 0x129;
335 enum BTN_BASE5               = 0x12a;
336 enum BTN_BASE6               = 0x12b;
337 enum BTN_DEAD                = 0x12f;
338 
339 enum BTN_GAMEPAD             = 0x130;
340 enum BTN_SOUTH               = 0x130;
341 enum BTN_A                   = BTN_SOUTH;
342 enum BTN_EAST                = 0x131;
343 enum BTN_B                   = BTN_EAST;
344 enum BTN_C                   = 0x132;
345 enum BTN_NORTH               = 0x133;
346 enum BTN_X                   = BTN_NORTH;
347 enum BTN_WEST                = 0x134;
348 enum BTN_Y                   = BTN_WEST;
349 enum BTN_Z                   = 0x135;
350 enum BTN_TL                  = 0x136;
351 enum BTN_TR                  = 0x137;
352 enum BTN_TL2                 = 0x138;
353 enum BTN_TR2                 = 0x139;
354 enum BTN_SELECT              = 0x13a;
355 enum BTN_START               = 0x13b;
356 enum BTN_MODE                = 0x13c;
357 enum BTN_THUMBL              = 0x13d;
358 enum BTN_THUMBR              = 0x13e;
359 
360 enum BTN_DIGI                = 0x140;
361 enum BTN_TOOL_PEN            = 0x140;
362 enum BTN_TOOL_RUBBER         = 0x141;
363 enum BTN_TOOL_BRUSH          = 0x142;
364 enum BTN_TOOL_PENCIL         = 0x143;
365 enum BTN_TOOL_AIRBRUSH       = 0x144;
366 enum BTN_TOOL_FINGER         = 0x145;
367 enum BTN_TOOL_MOUSE          = 0x146;
368 enum BTN_TOOL_LENS           = 0x147;
369 enum BTN_TOOL_QUINTTAP       = 0x148;
370 enum BTN_STYLUS3             = 0x149;
371 enum BTN_TOUCH               = 0x14a;
372 enum BTN_STYLUS              = 0x14b;
373 enum BTN_STYLUS2             = 0x14c;
374 enum BTN_TOOL_DOUBLETAP      = 0x14d;
375 enum BTN_TOOL_TRIPLETAP      = 0x14e;
376 enum BTN_TOOL_QUADTAP        = 0x14f;
377 
378 enum BTN_WHEEL               = 0x150;
379 enum BTN_GEAR_DOWN           = 0x150;
380 enum BTN_GEAR_UP             = 0x151;
381 
382 enum KEY_OK                  = 0x160;
383 enum KEY_SELECT              = 0x161;
384 enum KEY_GOTO                = 0x162;
385 enum KEY_CLEAR               = 0x163;
386 enum KEY_POWER2              = 0x164;
387 enum KEY_OPTION              = 0x165;
388 enum KEY_INFO                = 0x166;
389 enum KEY_TIME                = 0x167;
390 enum KEY_VENDOR              = 0x168;
391 enum KEY_ARCHIVE             = 0x169;
392 enum KEY_PROGRAM             = 0x16a;
393 enum KEY_CHANNEL             = 0x16b;
394 enum KEY_FAVORITES           = 0x16c;
395 enum KEY_EPG                 = 0x16d;
396 enum KEY_PVR                 = 0x16e;
397 enum KEY_MHP                 = 0x16f;
398 enum KEY_LANGUAGE            = 0x170;
399 enum KEY_TITLE               = 0x171;
400 enum KEY_SUBTITLE            = 0x172;
401 enum KEY_ANGLE               = 0x173;
402 enum KEY_ZOOM                = 0x174;
403 enum KEY_MODE                = 0x175;
404 enum KEY_KEYBOARD            = 0x176;
405 enum KEY_SCREEN              = 0x177;
406 enum KEY_PC                  = 0x178;
407 enum KEY_TV                  = 0x179;
408 enum KEY_TV2                 = 0x17a;
409 enum KEY_VCR                 = 0x17b;
410 enum KEY_VCR2                = 0x17c;
411 enum KEY_SAT                 = 0x17d;
412 enum KEY_SAT2                = 0x17e;
413 enum KEY_CD                  = 0x17f;
414 enum KEY_TAPE                = 0x180;
415 enum KEY_RADIO               = 0x181;
416 enum KEY_TUNER               = 0x182;
417 enum KEY_PLAYER              = 0x183;
418 enum KEY_TEXT                = 0x184;
419 enum KEY_DVD                 = 0x185;
420 enum KEY_AUX                 = 0x186;
421 enum KEY_MP3                 = 0x187;
422 enum KEY_AUDIO               = 0x188;
423 enum KEY_VIDEO               = 0x189;
424 enum KEY_DIRECTORY           = 0x18a;
425 enum KEY_LIST                = 0x18b;
426 enum KEY_MEMO                = 0x18c;
427 enum KEY_CALENDAR            = 0x18d;
428 enum KEY_RED                 = 0x18e;
429 enum KEY_GREEN               = 0x18f;
430 enum KEY_YELLOW              = 0x190;
431 enum KEY_BLUE                = 0x191;
432 enum KEY_CHANNELUP           = 0x192;
433 enum KEY_CHANNELDOWN         = 0x193;
434 enum KEY_FIRST               = 0x194;
435 enum KEY_LAST                = 0x195;
436 enum KEY_AB                  = 0x196;
437 enum KEY_NEXT                = 0x197;
438 enum KEY_RESTART             = 0x198;
439 enum KEY_SLOW                = 0x199;
440 enum KEY_SHUFFLE             = 0x19a;
441 enum KEY_BREAK               = 0x19b;
442 enum KEY_PREVIOUS            = 0x19c;
443 enum KEY_DIGITS              = 0x19d;
444 enum KEY_TEEN                = 0x19e;
445 enum KEY_TWEN                = 0x19f;
446 enum KEY_VIDEOPHONE          = 0x1a0;
447 enum KEY_GAMES               = 0x1a1;
448 enum KEY_ZOOMIN              = 0x1a2;
449 enum KEY_ZOOMOUT             = 0x1a3;
450 enum KEY_ZOOMRESET           = 0x1a4;
451 enum KEY_WORDPROCESSOR       = 0x1a5;
452 enum KEY_EDITOR              = 0x1a6;
453 enum KEY_SPREADSHEET         = 0x1a7;
454 enum KEY_GRAPHICSEDITOR      = 0x1a8;
455 enum KEY_PRESENTATION        = 0x1a9;
456 enum KEY_DATABASE            = 0x1aa;
457 enum KEY_NEWS                = 0x1ab;
458 enum KEY_VOICEMAIL           = 0x1ac;
459 enum KEY_ADDRESSBOOK         = 0x1ad;
460 enum KEY_MESSENGER           = 0x1ae;
461 enum KEY_DISPLAYTOGGLE       = 0x1af;
462 enum KEY_BRIGHTNESS_TOGGLE   = KEY_DISPLAYTOGGLE;
463 enum KEY_SPELLCHECK          = 0x1b0;
464 enum KEY_LOGOFF              = 0x1b1;
465 
466 enum KEY_DOLLAR              = 0x1b2;
467 enum KEY_EURO                = 0x1b3;
468 
469 enum KEY_FRAMEBACK           = 0x1b4;
470 enum KEY_FRAMEFORWARD        = 0x1b5;
471 enum KEY_CONTEXT_MENU        = 0x1b6;
472 enum KEY_MEDIA_REPEAT        = 0x1b7;
473 enum KEY_10CHANNELSUP        = 0x1b8;
474 enum KEY_10CHANNELSDOWN      = 0x1b9;
475 enum KEY_IMAGES              = 0x1ba;
476 
477 enum KEY_DEL_EOL             = 0x1c0;
478 enum KEY_DEL_EOS             = 0x1c1;
479 enum KEY_INS_LINE            = 0x1c2;
480 enum KEY_DEL_LINE            = 0x1c3;
481 
482 enum KEY_FN                  = 0x1d0;
483 enum KEY_FN_ESC              = 0x1d1;
484 enum KEY_FN_F1               = 0x1d2;
485 enum KEY_FN_F2               = 0x1d3;
486 enum KEY_FN_F3               = 0x1d4;
487 enum KEY_FN_F4               = 0x1d5;
488 enum KEY_FN_F5               = 0x1d6;
489 enum KEY_FN_F6               = 0x1d7;
490 enum KEY_FN_F7               = 0x1d8;
491 enum KEY_FN_F8               = 0x1d9;
492 enum KEY_FN_F9               = 0x1da;
493 enum KEY_FN_F10              = 0x1db;
494 enum KEY_FN_F11              = 0x1dc;
495 enum KEY_FN_F12              = 0x1dd;
496 enum KEY_FN_1                = 0x1de;
497 enum KEY_FN_2                = 0x1df;
498 enum KEY_FN_D                = 0x1e0;
499 enum KEY_FN_E                = 0x1e1;
500 enum KEY_FN_F                = 0x1e2;
501 enum KEY_FN_S                = 0x1e3;
502 enum KEY_FN_B                = 0x1e4;
503 
504 enum KEY_BRL_DOT1            = 0x1f1;
505 enum KEY_BRL_DOT2            = 0x1f2;
506 enum KEY_BRL_DOT3            = 0x1f3;
507 enum KEY_BRL_DOT4            = 0x1f4;
508 enum KEY_BRL_DOT5            = 0x1f5;
509 enum KEY_BRL_DOT6            = 0x1f6;
510 enum KEY_BRL_DOT7            = 0x1f7;
511 enum KEY_BRL_DOT8            = 0x1f8;
512 enum KEY_BRL_DOT9            = 0x1f9;
513 enum KEY_BRL_DOT10           = 0x1fa;
514 
515 enum KEY_NUMERIC_0           = 0x200;
516 enum KEY_NUMERIC_1           = 0x201;
517 enum KEY_NUMERIC_2           = 0x202;
518 enum KEY_NUMERIC_3           = 0x203;
519 enum KEY_NUMERIC_4           = 0x204;
520 enum KEY_NUMERIC_5           = 0x205;
521 enum KEY_NUMERIC_6           = 0x206;
522 enum KEY_NUMERIC_7           = 0x207;
523 enum KEY_NUMERIC_8           = 0x208;
524 enum KEY_NUMERIC_9           = 0x209;
525 enum KEY_NUMERIC_STAR        = 0x20a;
526 enum KEY_NUMERIC_POUND       = 0x20b;
527 enum KEY_NUMERIC_A           = 0x20c;
528 enum KEY_NUMERIC_B           = 0x20d;
529 enum KEY_NUMERIC_C           = 0x20e;
530 enum KEY_NUMERIC_D           = 0x20f;
531 
532 enum KEY_CAMERA_FOCUS        = 0x210;
533 enum KEY_WPS_BUTTON          = 0x211;
534 
535 enum KEY_TOUCHPAD_TOGGLE     = 0x212;
536 enum KEY_TOUCHPAD_ON         = 0x213;
537 enum KEY_TOUCHPAD_OFF        = 0x214;
538 
539 enum KEY_CAMERA_ZOOMIN       = 0x215;
540 enum KEY_CAMERA_ZOOMOUT      = 0x216;
541 enum KEY_CAMERA_UP           = 0x217;
542 enum KEY_CAMERA_DOWN         = 0x218;
543 enum KEY_CAMERA_LEFT         = 0x219;
544 enum KEY_CAMERA_RIGHT        = 0x21a;
545 
546 enum KEY_ATTENDANT_ON        = 0x21b;
547 enum KEY_ATTENDANT_OFF       = 0x21c;
548 enum KEY_ATTENDANT_TOGGLE    = 0x21d;
549 enum KEY_LIGHTS_TOGGLE       = 0x21e;
550 
551 enum BTN_DPAD_UP             = 0x220;
552 enum BTN_DPAD_DOWN           = 0x221;
553 enum BTN_DPAD_LEFT           = 0x222;
554 enum BTN_DPAD_RIGHT          = 0x223;
555 
556 enum KEY_ALS_TOGGLE          = 0x230;
557 enum KEY_ROTATE_LOCK_TOGGLE  = 0x231;
558 
559 enum KEY_BUTTONCONFIG                = 0x240;
560 enum KEY_TASKMANAGER         = 0x241;
561 enum KEY_JOURNAL             = 0x242;
562 enum KEY_CONTROLPANEL                = 0x243;
563 enum KEY_APPSELECT           = 0x244;
564 enum KEY_SCREENSAVER         = 0x245;
565 enum KEY_VOICECOMMAND                = 0x246;
566 enum KEY_ASSISTANT           = 0x247;
567 
568 enum KEY_BRIGHTNESS_MIN              = 0x250;
569 enum KEY_BRIGHTNESS_MAX              = 0x251;
570 
571 enum KEY_KBDINPUTASSIST_PREV         = 0x260;
572 enum KEY_KBDINPUTASSIST_NEXT         = 0x261;
573 enum KEY_KBDINPUTASSIST_PREVGROUP            = 0x262;
574 enum KEY_KBDINPUTASSIST_NEXTGROUP            = 0x263;
575 enum KEY_KBDINPUTASSIST_ACCEPT               = 0x264;
576 enum KEY_KBDINPUTASSIST_CANCEL               = 0x265;
577 
578 enum KEY_RIGHT_UP                    = 0x266;
579 enum KEY_RIGHT_DOWN                  = 0x267;
580 enum KEY_LEFT_UP                     = 0x268;
581 enum KEY_LEFT_DOWN                   = 0x269;
582 
583 enum KEY_ROOT_MENU                   = 0x26a;
584 enum KEY_MEDIA_TOP_MENU              = 0x26b;
585 enum KEY_NUMERIC_11                  = 0x26c;
586 enum KEY_NUMERIC_12                  = 0x26d;
587 enum KEY_AUDIO_DESC                  = 0x26e;
588 enum KEY_3D_MODE                     = 0x26f;
589 enum KEY_NEXT_FAVORITE               = 0x270;
590 enum KEY_STOP_RECORD                 = 0x271;
591 enum KEY_PAUSE_RECORD                = 0x272;
592 enum KEY_VOD                         = 0x273;
593 enum KEY_UNMUTE                      = 0x274;
594 enum KEY_FASTREVERSE                 = 0x275;
595 enum KEY_SLOWREVERSE                 = 0x276;
596 enum KEY_DATA                        = 0x277;
597 enum KEY_ONSCREEN_KEYBOARD           = 0x278;
598 
599 enum BTN_TRIGGER_HAPPY               = 0x2c0;
600 enum BTN_TRIGGER_HAPPY1              = 0x2c0;
601 enum BTN_TRIGGER_HAPPY2              = 0x2c1;
602 enum BTN_TRIGGER_HAPPY3              = 0x2c2;
603 enum BTN_TRIGGER_HAPPY4              = 0x2c3;
604 enum BTN_TRIGGER_HAPPY5              = 0x2c4;
605 enum BTN_TRIGGER_HAPPY6              = 0x2c5;
606 enum BTN_TRIGGER_HAPPY7              = 0x2c6;
607 enum BTN_TRIGGER_HAPPY8              = 0x2c7;
608 enum BTN_TRIGGER_HAPPY9              = 0x2c8;
609 enum BTN_TRIGGER_HAPPY10             = 0x2c9;
610 enum BTN_TRIGGER_HAPPY11             = 0x2ca;
611 enum BTN_TRIGGER_HAPPY12             = 0x2cb;
612 enum BTN_TRIGGER_HAPPY13             = 0x2cc;
613 enum BTN_TRIGGER_HAPPY14             = 0x2cd;
614 enum BTN_TRIGGER_HAPPY15             = 0x2ce;
615 enum BTN_TRIGGER_HAPPY16             = 0x2cf;
616 enum BTN_TRIGGER_HAPPY17             = 0x2d0;
617 enum BTN_TRIGGER_HAPPY18             = 0x2d1;
618 enum BTN_TRIGGER_HAPPY19             = 0x2d2;
619 enum BTN_TRIGGER_HAPPY20             = 0x2d3;
620 enum BTN_TRIGGER_HAPPY21             = 0x2d4;
621 enum BTN_TRIGGER_HAPPY22             = 0x2d5;
622 enum BTN_TRIGGER_HAPPY23             = 0x2d6;
623 enum BTN_TRIGGER_HAPPY24             = 0x2d7;
624 enum BTN_TRIGGER_HAPPY25             = 0x2d8;
625 enum BTN_TRIGGER_HAPPY26             = 0x2d9;
626 enum BTN_TRIGGER_HAPPY27             = 0x2da;
627 enum BTN_TRIGGER_HAPPY28             = 0x2db;
628 enum BTN_TRIGGER_HAPPY29             = 0x2dc;
629 enum BTN_TRIGGER_HAPPY30             = 0x2dd;
630 enum BTN_TRIGGER_HAPPY31             = 0x2de;
631 enum BTN_TRIGGER_HAPPY32             = 0x2df;
632 enum BTN_TRIGGER_HAPPY33             = 0x2e0;
633 enum BTN_TRIGGER_HAPPY34             = 0x2e1;
634 enum BTN_TRIGGER_HAPPY35             = 0x2e2;
635 enum BTN_TRIGGER_HAPPY36             = 0x2e3;
636 enum BTN_TRIGGER_HAPPY37             = 0x2e4;
637 enum BTN_TRIGGER_HAPPY38             = 0x2e5;
638 enum BTN_TRIGGER_HAPPY39             = 0x2e6;
639 enum BTN_TRIGGER_HAPPY40             = 0x2e7;
640 
641 enum KEY_MIN_INTERESTING     = KEY_MUTE;
642 enum KEY_MAX                 = 0x2ff;
643 enum KEY_CNT                 = (KEY_MAX+1);
644 
645 enum REL_X                   = 0x00;
646 enum REL_Y                   = 0x01;
647 enum REL_Z                   = 0x02;
648 enum REL_RX                  = 0x03;
649 enum REL_RY                  = 0x04;
650 enum REL_RZ                  = 0x05;
651 enum REL_HWHEEL              = 0x06;
652 enum REL_DIAL                = 0x07;
653 enum REL_WHEEL               = 0x08;
654 enum REL_MISC                = 0x09;
655 enum REL_MAX                 = 0x0f;
656 enum REL_CNT                 = (REL_MAX+1);
657 
658 enum ABS_X                   = 0x00;
659 enum ABS_Y                   = 0x01;
660 enum ABS_Z                   = 0x02;
661 enum ABS_RX                  = 0x03;
662 enum ABS_RY                  = 0x04;
663 enum ABS_RZ                  = 0x05;
664 enum ABS_THROTTLE            = 0x06;
665 enum ABS_RUDDER              = 0x07;
666 enum ABS_WHEEL               = 0x08;
667 enum ABS_GAS                 = 0x09;
668 enum ABS_BRAKE               = 0x0a;
669 enum ABS_HAT0X               = 0x10;
670 enum ABS_HAT0Y               = 0x11;
671 enum ABS_HAT1X               = 0x12;
672 enum ABS_HAT1Y               = 0x13;
673 enum ABS_HAT2X               = 0x14;
674 enum ABS_HAT2Y               = 0x15;
675 enum ABS_HAT3X               = 0x16;
676 enum ABS_HAT3Y               = 0x17;
677 enum ABS_PRESSURE            = 0x18;
678 enum ABS_DISTANCE            = 0x19;
679 enum ABS_TILT_X              = 0x1a;
680 enum ABS_TILT_Y              = 0x1b;
681 enum ABS_TOOL_WIDTH          = 0x1c;
682 
683 enum ABS_VOLUME              = 0x20;
684 
685 enum ABS_MISC                = 0x28;
686 
687 enum ABS_MT_SLOT             = 0x2f;
688 enum ABS_MT_TOUCH_MAJOR      = 0x30;
689 enum ABS_MT_TOUCH_MINOR      = 0x31;
690 enum ABS_MT_WIDTH_MAJOR      = 0x32;
691 enum ABS_MT_WIDTH_MINOR      = 0x33;
692 enum ABS_MT_ORIENTATION      = 0x34;
693 enum ABS_MT_POSITION_X       = 0x35;
694 enum ABS_MT_POSITION_Y       = 0x36;
695 enum ABS_MT_TOOL_TYPE        = 0x37;
696 enum ABS_MT_BLOB_ID          = 0x38;
697 enum ABS_MT_TRACKING_ID      = 0x39;
698 enum ABS_MT_PRESSURE         = 0x3a;
699 enum ABS_MT_DISTANCE         = 0x3b;
700 enum ABS_MT_TOOL_X           = 0x3c;
701 enum ABS_MT_TOOL_Y           = 0x3d;
702 
703 enum ABS_MAX                 = 0x3f;
704 enum ABS_CNT                 = (ABS_MAX+1);
705 
706 enum SW_LID                  = 0x00;
707 enum SW_TABLET_MODE          = 0x01;
708 enum SW_HEADPHONE_INSERT     = 0x02;
709 enum SW_RFKILL_ALL           = 0x03;
710 enum SW_RADIO                = SW_RFKILL_ALL;
711 enum SW_MICROPHONE_INSERT    = 0x04;
712 enum SW_DOCK                 = 0x05;
713 enum SW_LINEOUT_INSERT       = 0x06;
714 enum SW_JACK_PHYSICAL_INSERT = 0x07;
715 enum SW_VIDEOOUT_INSERT      = 0x08;
716 enum SW_CAMERA_LENS_COVER    = 0x09;
717 enum SW_KEYPAD_SLIDE         = 0x0a;
718 enum SW_FRONT_PROXIMITY      = 0x0b;
719 enum SW_ROTATE_LOCK          = 0x0c;
720 enum SW_LINEIN_INSERT        = 0x0d;
721 enum SW_MUTE_DEVICE          = 0x0e;
722 enum SW_PEN_INSERTED         = 0x0f;
723 enum SW_MAX                  = 0x0f;
724 enum SW_CNT                  = (SW_MAX+1);
725 
726 enum MSC_SERIAL              = 0x00;
727 enum MSC_PULSELED            = 0x01;
728 enum MSC_GESTURE             = 0x02;
729 enum MSC_RAW                 = 0x03;
730 enum MSC_SCAN                = 0x04;
731 enum MSC_TIMESTAMP           = 0x05;
732 enum MSC_MAX                 = 0x07;
733 enum MSC_CNT                 = (MSC_MAX+1);
734 
735 enum LED_NUML                = 0x00;
736 enum LED_CAPSL               = 0x01;
737 enum LED_SCROLLL             = 0x02;
738 enum LED_COMPOSE             = 0x03;
739 enum LED_KANA                = 0x04;
740 enum LED_SLEEP               = 0x05;
741 enum LED_SUSPEND             = 0x06;
742 enum LED_MUTE                = 0x07;
743 enum LED_MISC                = 0x08;
744 enum LED_MAIL                = 0x09;
745 enum LED_CHARGING            = 0x0a;
746 enum LED_MAX                 = 0x0f;
747 enum LED_CNT                 = (LED_MAX+1);
748 
749 enum REP_DELAY               = 0x00;
750 enum REP_PERIOD              = 0x01;
751 enum REP_MAX                 = 0x01;
752 enum REP_CNT                 = (REP_MAX+1);
753 
754 enum SND_CLICK               = 0x00;
755 enum SND_BELL                = 0x01;
756 enum SND_TONE                = 0x02;
757 enum SND_MAX                 = 0x07;
758 enum SND_CNT                 = (SND_MAX+1);