blob: 430586e47ebdd6552c89678e099a3db49fd28616 [file] [log] [blame]
Ethan Yonker58f21322018-08-24 11:17:36 -05001static struct label input_prop_labels[] = {
2 LABEL(INPUT_PROP_POINTER),
3 LABEL(INPUT_PROP_DIRECT),
4 LABEL(INPUT_PROP_BUTTONPAD),
5 LABEL(INPUT_PROP_SEMI_MT),
6 LABEL(INPUT_PROP_TOPBUTTONPAD),
7 LABEL(INPUT_PROP_POINTING_STICK),
8 LABEL(INPUT_PROP_ACCELEROMETER),
9 LABEL(INPUT_PROP_MAX),
10 LABEL_END,
11};
12static struct label ev_labels[] = {
13 LABEL(EV_VERSION),
14 LABEL(EV_SYN),
15 LABEL(EV_KEY),
16 LABEL(EV_REL),
17 LABEL(EV_ABS),
18 LABEL(EV_MSC),
19 LABEL(EV_SW),
20 LABEL(EV_LED),
21 LABEL(EV_SND),
22 LABEL(EV_REP),
23 LABEL(EV_FF),
24 LABEL(EV_PWR),
25 LABEL(EV_FF_STATUS),
26 LABEL(EV_MAX),
27 LABEL_END,
28};
29static struct label syn_labels[] = {
30 LABEL(SYN_REPORT),
31 LABEL(SYN_CONFIG),
32 LABEL(SYN_MT_REPORT),
33 LABEL(SYN_DROPPED),
34 LABEL(SYN_MAX),
35 LABEL_END,
36};
37static struct label key_labels[] = {
38 LABEL(KEY_RESERVED),
39 LABEL(KEY_ESC),
40 LABEL(KEY_1),
41 LABEL(KEY_2),
42 LABEL(KEY_3),
43 LABEL(KEY_4),
44 LABEL(KEY_5),
45 LABEL(KEY_6),
46 LABEL(KEY_7),
47 LABEL(KEY_8),
48 LABEL(KEY_9),
49 LABEL(KEY_0),
50 LABEL(KEY_MINUS),
51 LABEL(KEY_EQUAL),
52 LABEL(KEY_BACKSPACE),
53 LABEL(KEY_TAB),
54 LABEL(KEY_Q),
55 LABEL(KEY_W),
56 LABEL(KEY_E),
57 LABEL(KEY_R),
58 LABEL(KEY_T),
59 LABEL(KEY_Y),
60 LABEL(KEY_U),
61 LABEL(KEY_I),
62 LABEL(KEY_O),
63 LABEL(KEY_P),
64 LABEL(KEY_LEFTBRACE),
65 LABEL(KEY_RIGHTBRACE),
66 LABEL(KEY_ENTER),
67 LABEL(KEY_LEFTCTRL),
68 LABEL(KEY_A),
69 LABEL(KEY_S),
70 LABEL(KEY_D),
71 LABEL(KEY_F),
72 LABEL(KEY_G),
73 LABEL(KEY_H),
74 LABEL(KEY_J),
75 LABEL(KEY_K),
76 LABEL(KEY_L),
77 LABEL(KEY_SEMICOLON),
78 LABEL(KEY_APOSTROPHE),
79 LABEL(KEY_GRAVE),
80 LABEL(KEY_LEFTSHIFT),
81 LABEL(KEY_BACKSLASH),
82 LABEL(KEY_Z),
83 LABEL(KEY_X),
84 LABEL(KEY_C),
85 LABEL(KEY_V),
86 LABEL(KEY_B),
87 LABEL(KEY_N),
88 LABEL(KEY_M),
89 LABEL(KEY_COMMA),
90 LABEL(KEY_DOT),
91 LABEL(KEY_SLASH),
92 LABEL(KEY_RIGHTSHIFT),
93 LABEL(KEY_KPASTERISK),
94 LABEL(KEY_LEFTALT),
95 LABEL(KEY_SPACE),
96 LABEL(KEY_CAPSLOCK),
97 LABEL(KEY_F1),
98 LABEL(KEY_F2),
99 LABEL(KEY_F3),
100 LABEL(KEY_F4),
101 LABEL(KEY_F5),
102 LABEL(KEY_F6),
103 LABEL(KEY_F7),
104 LABEL(KEY_F8),
105 LABEL(KEY_F9),
106 LABEL(KEY_F10),
107 LABEL(KEY_NUMLOCK),
108 LABEL(KEY_SCROLLLOCK),
109 LABEL(KEY_KP7),
110 LABEL(KEY_KP8),
111 LABEL(KEY_KP9),
112 LABEL(KEY_KPMINUS),
113 LABEL(KEY_KP4),
114 LABEL(KEY_KP5),
115 LABEL(KEY_KP6),
116 LABEL(KEY_KPPLUS),
117 LABEL(KEY_KP1),
118 LABEL(KEY_KP2),
119 LABEL(KEY_KP3),
120 LABEL(KEY_KP0),
121 LABEL(KEY_KPDOT),
122 LABEL(KEY_ZENKAKUHANKAKU),
123 LABEL(KEY_102ND),
124 LABEL(KEY_F11),
125 LABEL(KEY_F12),
126 LABEL(KEY_RO),
127 LABEL(KEY_KATAKANA),
128 LABEL(KEY_HIRAGANA),
129 LABEL(KEY_HENKAN),
130 LABEL(KEY_KATAKANAHIRAGANA),
131 LABEL(KEY_MUHENKAN),
132 LABEL(KEY_KPJPCOMMA),
133 LABEL(KEY_KPENTER),
134 LABEL(KEY_RIGHTCTRL),
135 LABEL(KEY_KPSLASH),
136 LABEL(KEY_SYSRQ),
137 LABEL(KEY_RIGHTALT),
138 LABEL(KEY_LINEFEED),
139 LABEL(KEY_HOME),
140 LABEL(KEY_UP),
141 LABEL(KEY_PAGEUP),
142 LABEL(KEY_LEFT),
143 LABEL(KEY_RIGHT),
144 LABEL(KEY_END),
145 LABEL(KEY_DOWN),
146 LABEL(KEY_PAGEDOWN),
147 LABEL(KEY_INSERT),
148 LABEL(KEY_DELETE),
149 LABEL(KEY_MACRO),
150 LABEL(KEY_MUTE),
151 LABEL(KEY_VOLUMEDOWN),
152 LABEL(KEY_VOLUMEUP),
153 LABEL(KEY_POWER),
154 LABEL(KEY_KPEQUAL),
155 LABEL(KEY_KPPLUSMINUS),
156 LABEL(KEY_PAUSE),
157 LABEL(KEY_SCALE),
158 LABEL(KEY_KPCOMMA),
159 LABEL(KEY_HANGEUL),
160 LABEL(KEY_HANJA),
161 LABEL(KEY_YEN),
162 LABEL(KEY_LEFTMETA),
163 LABEL(KEY_RIGHTMETA),
164 LABEL(KEY_COMPOSE),
165 LABEL(KEY_STOP),
166 LABEL(KEY_AGAIN),
167 LABEL(KEY_PROPS),
168 LABEL(KEY_UNDO),
169 LABEL(KEY_FRONT),
170 LABEL(KEY_COPY),
171 LABEL(KEY_OPEN),
172 LABEL(KEY_PASTE),
173 LABEL(KEY_FIND),
174 LABEL(KEY_CUT),
175 LABEL(KEY_HELP),
176 LABEL(KEY_MENU),
177 LABEL(KEY_CALC),
178 LABEL(KEY_SETUP),
179 LABEL(KEY_SLEEP),
180 LABEL(KEY_WAKEUP),
181 LABEL(KEY_FILE),
182 LABEL(KEY_SENDFILE),
183 LABEL(KEY_DELETEFILE),
184 LABEL(KEY_XFER),
185 LABEL(KEY_PROG1),
186 LABEL(KEY_PROG2),
187 LABEL(KEY_WWW),
188 LABEL(KEY_MSDOS),
189 LABEL(KEY_COFFEE),
190 LABEL(KEY_ROTATE_DISPLAY),
191 LABEL(KEY_CYCLEWINDOWS),
192 LABEL(KEY_MAIL),
193 LABEL(KEY_BOOKMARKS),
194 LABEL(KEY_COMPUTER),
195 LABEL(KEY_BACK),
196 LABEL(KEY_FORWARD),
197 LABEL(KEY_CLOSECD),
198 LABEL(KEY_EJECTCD),
199 LABEL(KEY_EJECTCLOSECD),
200 LABEL(KEY_NEXTSONG),
201 LABEL(KEY_PLAYPAUSE),
202 LABEL(KEY_PREVIOUSSONG),
203 LABEL(KEY_STOPCD),
204 LABEL(KEY_RECORD),
205 LABEL(KEY_REWIND),
206 LABEL(KEY_PHONE),
207 LABEL(KEY_ISO),
208 LABEL(KEY_CONFIG),
209 LABEL(KEY_HOMEPAGE),
210 LABEL(KEY_REFRESH),
211 LABEL(KEY_EXIT),
212 LABEL(KEY_MOVE),
213 LABEL(KEY_EDIT),
214 LABEL(KEY_SCROLLUP),
215 LABEL(KEY_SCROLLDOWN),
216 LABEL(KEY_KPLEFTPAREN),
217 LABEL(KEY_KPRIGHTPAREN),
218 LABEL(KEY_NEW),
219 LABEL(KEY_REDO),
220 LABEL(KEY_F13),
221 LABEL(KEY_F14),
222 LABEL(KEY_F15),
223 LABEL(KEY_F16),
224 LABEL(KEY_F17),
225 LABEL(KEY_F18),
226 LABEL(KEY_F19),
227 LABEL(KEY_F20),
228 LABEL(KEY_F21),
229 LABEL(KEY_F22),
230 LABEL(KEY_F23),
231 LABEL(KEY_F24),
232 LABEL(KEY_PLAYCD),
233 LABEL(KEY_PAUSECD),
234 LABEL(KEY_PROG3),
235 LABEL(KEY_PROG4),
236 LABEL(KEY_DASHBOARD),
237 LABEL(KEY_SUSPEND),
238 LABEL(KEY_CLOSE),
239 LABEL(KEY_PLAY),
240 LABEL(KEY_FASTFORWARD),
241 LABEL(KEY_BASSBOOST),
242 LABEL(KEY_PRINT),
243 LABEL(KEY_HP),
244 LABEL(KEY_CAMERA),
245 LABEL(KEY_SOUND),
246 LABEL(KEY_QUESTION),
247 LABEL(KEY_EMAIL),
248 LABEL(KEY_CHAT),
249 LABEL(KEY_SEARCH),
250 LABEL(KEY_CONNECT),
251 LABEL(KEY_FINANCE),
252 LABEL(KEY_SPORT),
253 LABEL(KEY_SHOP),
254 LABEL(KEY_ALTERASE),
255 LABEL(KEY_CANCEL),
256 LABEL(KEY_BRIGHTNESSDOWN),
257 LABEL(KEY_BRIGHTNESSUP),
258 LABEL(KEY_MEDIA),
259 LABEL(KEY_SWITCHVIDEOMODE),
260 LABEL(KEY_KBDILLUMTOGGLE),
261 LABEL(KEY_KBDILLUMDOWN),
262 LABEL(KEY_KBDILLUMUP),
263 LABEL(KEY_SEND),
264 LABEL(KEY_REPLY),
265 LABEL(KEY_FORWARDMAIL),
266 LABEL(KEY_SAVE),
267 LABEL(KEY_DOCUMENTS),
268 LABEL(KEY_BATTERY),
269 LABEL(KEY_BLUETOOTH),
270 LABEL(KEY_WLAN),
271 LABEL(KEY_UWB),
272 LABEL(KEY_UNKNOWN),
273 LABEL(KEY_VIDEO_NEXT),
274 LABEL(KEY_VIDEO_PREV),
275 LABEL(KEY_BRIGHTNESS_CYCLE),
276 LABEL(KEY_BRIGHTNESS_AUTO),
277 LABEL(KEY_DISPLAY_OFF),
278 LABEL(KEY_WWAN),
279 LABEL(KEY_RFKILL),
280 LABEL(KEY_MICMUTE),
281 LABEL(BTN_MISC),
282 LABEL(BTN_0),
283 LABEL(BTN_1),
284 LABEL(BTN_2),
285 LABEL(BTN_3),
286 LABEL(BTN_4),
287 LABEL(BTN_5),
288 LABEL(BTN_6),
289 LABEL(BTN_7),
290 LABEL(BTN_8),
291 LABEL(BTN_9),
292 LABEL(BTN_MOUSE),
293 LABEL(BTN_LEFT),
294 LABEL(BTN_RIGHT),
295 LABEL(BTN_MIDDLE),
296 LABEL(BTN_SIDE),
297 LABEL(BTN_EXTRA),
298 LABEL(BTN_FORWARD),
299 LABEL(BTN_BACK),
300 LABEL(BTN_TASK),
301 LABEL(BTN_JOYSTICK),
302 LABEL(BTN_TRIGGER),
303 LABEL(BTN_THUMB),
304 LABEL(BTN_THUMB2),
305 LABEL(BTN_TOP),
306 LABEL(BTN_TOP2),
307 LABEL(BTN_PINKIE),
308 LABEL(BTN_BASE),
309 LABEL(BTN_BASE2),
310 LABEL(BTN_BASE3),
311 LABEL(BTN_BASE4),
312 LABEL(BTN_BASE5),
313 LABEL(BTN_BASE6),
314 LABEL(BTN_DEAD),
315 LABEL(BTN_GAMEPAD),
316 LABEL(BTN_SOUTH),
317 LABEL(BTN_EAST),
318 LABEL(BTN_C),
319 LABEL(BTN_NORTH),
320 LABEL(BTN_WEST),
321 LABEL(BTN_Z),
322 LABEL(BTN_TL),
323 LABEL(BTN_TR),
324 LABEL(BTN_TL2),
325 LABEL(BTN_TR2),
326 LABEL(BTN_SELECT),
327 LABEL(BTN_START),
328 LABEL(BTN_MODE),
329 LABEL(BTN_THUMBL),
330 LABEL(BTN_THUMBR),
331 LABEL(BTN_DIGI),
332 LABEL(BTN_TOOL_PEN),
333 LABEL(BTN_TOOL_RUBBER),
334 LABEL(BTN_TOOL_BRUSH),
335 LABEL(BTN_TOOL_PENCIL),
336 LABEL(BTN_TOOL_AIRBRUSH),
337 LABEL(BTN_TOOL_FINGER),
338 LABEL(BTN_TOOL_MOUSE),
339 LABEL(BTN_TOOL_LENS),
340 LABEL(BTN_TOOL_QUINTTAP),
341 LABEL(BTN_STYLUS3),
342 LABEL(BTN_TOUCH),
343 LABEL(BTN_STYLUS),
344 LABEL(BTN_STYLUS2),
345 LABEL(BTN_TOOL_DOUBLETAP),
346 LABEL(BTN_TOOL_TRIPLETAP),
347 LABEL(BTN_TOOL_QUADTAP),
348 LABEL(BTN_WHEEL),
349 LABEL(BTN_GEAR_DOWN),
350 LABEL(BTN_GEAR_UP),
351 LABEL(KEY_OK),
352 LABEL(KEY_SELECT),
353 LABEL(KEY_GOTO),
354 LABEL(KEY_CLEAR),
355 LABEL(KEY_POWER2),
356 LABEL(KEY_OPTION),
357 LABEL(KEY_INFO),
358 LABEL(KEY_TIME),
359 LABEL(KEY_VENDOR),
360 LABEL(KEY_ARCHIVE),
361 LABEL(KEY_PROGRAM),
362 LABEL(KEY_CHANNEL),
363 LABEL(KEY_FAVORITES),
364 LABEL(KEY_EPG),
365 LABEL(KEY_PVR),
366 LABEL(KEY_MHP),
367 LABEL(KEY_LANGUAGE),
368 LABEL(KEY_TITLE),
369 LABEL(KEY_SUBTITLE),
370 LABEL(KEY_ANGLE),
371 LABEL(KEY_ZOOM),
372 LABEL(KEY_MODE),
373 LABEL(KEY_KEYBOARD),
374 LABEL(KEY_SCREEN),
375 LABEL(KEY_PC),
376 LABEL(KEY_TV),
377 LABEL(KEY_TV2),
378 LABEL(KEY_VCR),
379 LABEL(KEY_VCR2),
380 LABEL(KEY_SAT),
381 LABEL(KEY_SAT2),
382 LABEL(KEY_CD),
383 LABEL(KEY_TAPE),
384 LABEL(KEY_RADIO),
385 LABEL(KEY_TUNER),
386 LABEL(KEY_PLAYER),
387 LABEL(KEY_TEXT),
388 LABEL(KEY_DVD),
389 LABEL(KEY_AUX),
390 LABEL(KEY_MP3),
391 LABEL(KEY_AUDIO),
392 LABEL(KEY_VIDEO),
393 LABEL(KEY_DIRECTORY),
394 LABEL(KEY_LIST),
395 LABEL(KEY_MEMO),
396 LABEL(KEY_CALENDAR),
397 LABEL(KEY_RED),
398 LABEL(KEY_GREEN),
399 LABEL(KEY_YELLOW),
400 LABEL(KEY_BLUE),
401 LABEL(KEY_CHANNELUP),
402 LABEL(KEY_CHANNELDOWN),
403 LABEL(KEY_FIRST),
404 LABEL(KEY_LAST),
405 LABEL(KEY_AB),
406 LABEL(KEY_NEXT),
407 LABEL(KEY_RESTART),
408 LABEL(KEY_SLOW),
409 LABEL(KEY_SHUFFLE),
410 LABEL(KEY_BREAK),
411 LABEL(KEY_PREVIOUS),
412 LABEL(KEY_DIGITS),
413 LABEL(KEY_TEEN),
414 LABEL(KEY_TWEN),
415 LABEL(KEY_VIDEOPHONE),
416 LABEL(KEY_GAMES),
417 LABEL(KEY_ZOOMIN),
418 LABEL(KEY_ZOOMOUT),
419 LABEL(KEY_ZOOMRESET),
420 LABEL(KEY_WORDPROCESSOR),
421 LABEL(KEY_EDITOR),
422 LABEL(KEY_SPREADSHEET),
423 LABEL(KEY_GRAPHICSEDITOR),
424 LABEL(KEY_PRESENTATION),
425 LABEL(KEY_DATABASE),
426 LABEL(KEY_NEWS),
427 LABEL(KEY_VOICEMAIL),
428 LABEL(KEY_ADDRESSBOOK),
429 LABEL(KEY_MESSENGER),
430 LABEL(KEY_DISPLAYTOGGLE),
431 LABEL(KEY_SPELLCHECK),
432 LABEL(KEY_LOGOFF),
433 LABEL(KEY_DOLLAR),
434 LABEL(KEY_EURO),
435 LABEL(KEY_FRAMEBACK),
436 LABEL(KEY_FRAMEFORWARD),
437 LABEL(KEY_CONTEXT_MENU),
438 LABEL(KEY_MEDIA_REPEAT),
439 LABEL(KEY_10CHANNELSUP),
440 LABEL(KEY_10CHANNELSDOWN),
441 LABEL(KEY_IMAGES),
442 LABEL(KEY_DEL_EOL),
443 LABEL(KEY_DEL_EOS),
444 LABEL(KEY_INS_LINE),
445 LABEL(KEY_DEL_LINE),
446 LABEL(KEY_FN),
447 LABEL(KEY_FN_ESC),
448 LABEL(KEY_FN_F1),
449 LABEL(KEY_FN_F2),
450 LABEL(KEY_FN_F3),
451 LABEL(KEY_FN_F4),
452 LABEL(KEY_FN_F5),
453 LABEL(KEY_FN_F6),
454 LABEL(KEY_FN_F7),
455 LABEL(KEY_FN_F8),
456 LABEL(KEY_FN_F9),
457 LABEL(KEY_FN_F10),
458 LABEL(KEY_FN_F11),
459 LABEL(KEY_FN_F12),
460 LABEL(KEY_FN_1),
461 LABEL(KEY_FN_2),
462 LABEL(KEY_FN_D),
463 LABEL(KEY_FN_E),
464 LABEL(KEY_FN_F),
465 LABEL(KEY_FN_S),
466 LABEL(KEY_FN_B),
467 LABEL(KEY_BRL_DOT1),
468 LABEL(KEY_BRL_DOT2),
469 LABEL(KEY_BRL_DOT3),
470 LABEL(KEY_BRL_DOT4),
471 LABEL(KEY_BRL_DOT5),
472 LABEL(KEY_BRL_DOT6),
473 LABEL(KEY_BRL_DOT7),
474 LABEL(KEY_BRL_DOT8),
475 LABEL(KEY_BRL_DOT9),
476 LABEL(KEY_BRL_DOT10),
477 LABEL(KEY_NUMERIC_0),
478 LABEL(KEY_NUMERIC_1),
479 LABEL(KEY_NUMERIC_2),
480 LABEL(KEY_NUMERIC_3),
481 LABEL(KEY_NUMERIC_4),
482 LABEL(KEY_NUMERIC_5),
483 LABEL(KEY_NUMERIC_6),
484 LABEL(KEY_NUMERIC_7),
485 LABEL(KEY_NUMERIC_8),
486 LABEL(KEY_NUMERIC_9),
487 LABEL(KEY_NUMERIC_STAR),
488 LABEL(KEY_NUMERIC_POUND),
489 LABEL(KEY_NUMERIC_A),
490 LABEL(KEY_NUMERIC_B),
491 LABEL(KEY_NUMERIC_C),
492 LABEL(KEY_NUMERIC_D),
493 LABEL(KEY_CAMERA_FOCUS),
494 LABEL(KEY_WPS_BUTTON),
495 LABEL(KEY_TOUCHPAD_TOGGLE),
496 LABEL(KEY_TOUCHPAD_ON),
497 LABEL(KEY_TOUCHPAD_OFF),
498 LABEL(KEY_CAMERA_ZOOMIN),
499 LABEL(KEY_CAMERA_ZOOMOUT),
500 LABEL(KEY_CAMERA_UP),
501 LABEL(KEY_CAMERA_DOWN),
502 LABEL(KEY_CAMERA_LEFT),
503 LABEL(KEY_CAMERA_RIGHT),
504 LABEL(KEY_ATTENDANT_ON),
505 LABEL(KEY_ATTENDANT_OFF),
506 LABEL(KEY_ATTENDANT_TOGGLE),
507 LABEL(KEY_LIGHTS_TOGGLE),
508 LABEL(BTN_DPAD_UP),
509 LABEL(BTN_DPAD_DOWN),
510 LABEL(BTN_DPAD_LEFT),
511 LABEL(BTN_DPAD_RIGHT),
512 LABEL(KEY_ALS_TOGGLE),
513 LABEL(KEY_BUTTONCONFIG),
514 LABEL(KEY_TASKMANAGER),
515 LABEL(KEY_JOURNAL),
516 LABEL(KEY_CONTROLPANEL),
517 LABEL(KEY_APPSELECT),
518 LABEL(KEY_SCREENSAVER),
519 LABEL(KEY_VOICECOMMAND),
520 LABEL(KEY_ASSISTANT),
521 LABEL(KEY_BRIGHTNESS_MIN),
522 LABEL(KEY_BRIGHTNESS_MAX),
523 LABEL(KEY_KBDINPUTASSIST_PREV),
524 LABEL(KEY_KBDINPUTASSIST_NEXT),
525 LABEL(KEY_KBDINPUTASSIST_PREVGROUP),
526 LABEL(KEY_KBDINPUTASSIST_NEXTGROUP),
527 LABEL(KEY_KBDINPUTASSIST_ACCEPT),
528 LABEL(KEY_KBDINPUTASSIST_CANCEL),
529 LABEL(KEY_RIGHT_UP),
530 LABEL(KEY_RIGHT_DOWN),
531 LABEL(KEY_LEFT_UP),
532 LABEL(KEY_LEFT_DOWN),
533 LABEL(KEY_ROOT_MENU),
534 LABEL(KEY_MEDIA_TOP_MENU),
535 LABEL(KEY_NUMERIC_11),
536 LABEL(KEY_NUMERIC_12),
537 LABEL(KEY_AUDIO_DESC),
538 LABEL(KEY_3D_MODE),
539 LABEL(KEY_NEXT_FAVORITE),
540 LABEL(KEY_STOP_RECORD),
541 LABEL(KEY_PAUSE_RECORD),
542 LABEL(KEY_VOD),
543 LABEL(KEY_UNMUTE),
544 LABEL(KEY_FASTREVERSE),
545 LABEL(KEY_SLOWREVERSE),
546 LABEL(KEY_DATA),
547 LABEL(KEY_ONSCREEN_KEYBOARD),
548 LABEL(BTN_TRIGGER_HAPPY),
549 LABEL(BTN_TRIGGER_HAPPY1),
550 LABEL(BTN_TRIGGER_HAPPY2),
551 LABEL(BTN_TRIGGER_HAPPY3),
552 LABEL(BTN_TRIGGER_HAPPY4),
553 LABEL(BTN_TRIGGER_HAPPY5),
554 LABEL(BTN_TRIGGER_HAPPY6),
555 LABEL(BTN_TRIGGER_HAPPY7),
556 LABEL(BTN_TRIGGER_HAPPY8),
557 LABEL(BTN_TRIGGER_HAPPY9),
558 LABEL(BTN_TRIGGER_HAPPY10),
559 LABEL(BTN_TRIGGER_HAPPY11),
560 LABEL(BTN_TRIGGER_HAPPY12),
561 LABEL(BTN_TRIGGER_HAPPY13),
562 LABEL(BTN_TRIGGER_HAPPY14),
563 LABEL(BTN_TRIGGER_HAPPY15),
564 LABEL(BTN_TRIGGER_HAPPY16),
565 LABEL(BTN_TRIGGER_HAPPY17),
566 LABEL(BTN_TRIGGER_HAPPY18),
567 LABEL(BTN_TRIGGER_HAPPY19),
568 LABEL(BTN_TRIGGER_HAPPY20),
569 LABEL(BTN_TRIGGER_HAPPY21),
570 LABEL(BTN_TRIGGER_HAPPY22),
571 LABEL(BTN_TRIGGER_HAPPY23),
572 LABEL(BTN_TRIGGER_HAPPY24),
573 LABEL(BTN_TRIGGER_HAPPY25),
574 LABEL(BTN_TRIGGER_HAPPY26),
575 LABEL(BTN_TRIGGER_HAPPY27),
576 LABEL(BTN_TRIGGER_HAPPY28),
577 LABEL(BTN_TRIGGER_HAPPY29),
578 LABEL(BTN_TRIGGER_HAPPY30),
579 LABEL(BTN_TRIGGER_HAPPY31),
580 LABEL(BTN_TRIGGER_HAPPY32),
581 LABEL(BTN_TRIGGER_HAPPY33),
582 LABEL(BTN_TRIGGER_HAPPY34),
583 LABEL(BTN_TRIGGER_HAPPY35),
584 LABEL(BTN_TRIGGER_HAPPY36),
585 LABEL(BTN_TRIGGER_HAPPY37),
586 LABEL(BTN_TRIGGER_HAPPY38),
587 LABEL(BTN_TRIGGER_HAPPY39),
588 LABEL(BTN_TRIGGER_HAPPY40),
589 LABEL(KEY_MAX),
590 LABEL_END,
591};
592static struct label rel_labels[] = {
593 LABEL(REL_X),
594 LABEL(REL_Y),
595 LABEL(REL_Z),
596 LABEL(REL_RX),
597 LABEL(REL_RY),
598 LABEL(REL_RZ),
599 LABEL(REL_HWHEEL),
600 LABEL(REL_DIAL),
601 LABEL(REL_WHEEL),
602 LABEL(REL_MISC),
603 LABEL(REL_MAX),
604 LABEL_END,
605};
606static struct label abs_labels[] = {
607 LABEL(ABS_X),
608 LABEL(ABS_Y),
609 LABEL(ABS_Z),
610 LABEL(ABS_RX),
611 LABEL(ABS_RY),
612 LABEL(ABS_RZ),
613 LABEL(ABS_THROTTLE),
614 LABEL(ABS_RUDDER),
615 LABEL(ABS_WHEEL),
616 LABEL(ABS_GAS),
617 LABEL(ABS_BRAKE),
618 LABEL(ABS_HAT0X),
619 LABEL(ABS_HAT0Y),
620 LABEL(ABS_HAT1X),
621 LABEL(ABS_HAT1Y),
622 LABEL(ABS_HAT2X),
623 LABEL(ABS_HAT2Y),
624 LABEL(ABS_HAT3X),
625 LABEL(ABS_HAT3Y),
626 LABEL(ABS_PRESSURE),
627 LABEL(ABS_DISTANCE),
628 LABEL(ABS_TILT_X),
629 LABEL(ABS_TILT_Y),
630 LABEL(ABS_TOOL_WIDTH),
631 LABEL(ABS_VOLUME),
632 LABEL(ABS_MISC),
633 LABEL(ABS_MT_SLOT),
634 LABEL(ABS_MT_TOUCH_MAJOR),
635 LABEL(ABS_MT_TOUCH_MINOR),
636 LABEL(ABS_MT_WIDTH_MAJOR),
637 LABEL(ABS_MT_WIDTH_MINOR),
638 LABEL(ABS_MT_ORIENTATION),
639 LABEL(ABS_MT_POSITION_X),
640 LABEL(ABS_MT_POSITION_Y),
641 LABEL(ABS_MT_TOOL_TYPE),
642 LABEL(ABS_MT_BLOB_ID),
643 LABEL(ABS_MT_TRACKING_ID),
644 LABEL(ABS_MT_PRESSURE),
645 LABEL(ABS_MT_DISTANCE),
646 LABEL(ABS_MT_TOOL_X),
647 LABEL(ABS_MT_TOOL_Y),
648 LABEL(ABS_MAX),
649 LABEL_END,
650};
651static struct label sw_labels[] = {
652 LABEL(SW_LID),
653 LABEL(SW_TABLET_MODE),
654 LABEL(SW_HEADPHONE_INSERT),
655 LABEL(SW_RFKILL_ALL),
656 LABEL(SW_MICROPHONE_INSERT),
657 LABEL(SW_DOCK),
658 LABEL(SW_LINEOUT_INSERT),
659 LABEL(SW_JACK_PHYSICAL_INSERT),
660 LABEL(SW_VIDEOOUT_INSERT),
661 LABEL(SW_CAMERA_LENS_COVER),
662 LABEL(SW_KEYPAD_SLIDE),
663 LABEL(SW_FRONT_PROXIMITY),
664 LABEL(SW_ROTATE_LOCK),
665 LABEL(SW_LINEIN_INSERT),
666 LABEL(SW_MUTE_DEVICE),
667 LABEL(SW_PEN_INSERTED),
668 LABEL(SW_MAX),
669 LABEL_END,
670};
671static struct label msc_labels[] = {
672 LABEL(MSC_SERIAL),
673 LABEL(MSC_PULSELED),
674 LABEL(MSC_GESTURE),
675 LABEL(MSC_RAW),
676 LABEL(MSC_SCAN),
677 LABEL(MSC_TIMESTAMP),
678 LABEL(MSC_MAX),
679 LABEL_END,
680};
681static struct label led_labels[] = {
682 LABEL(LED_NUML),
683 LABEL(LED_CAPSL),
684 LABEL(LED_SCROLLL),
685 LABEL(LED_COMPOSE),
686 LABEL(LED_KANA),
687 LABEL(LED_SLEEP),
688 LABEL(LED_SUSPEND),
689 LABEL(LED_MUTE),
690 LABEL(LED_MISC),
691 LABEL(LED_MAIL),
692 LABEL(LED_CHARGING),
693 LABEL(LED_MAX),
694 LABEL_END,
695};
696static struct label rep_labels[] = {
697 LABEL(REP_DELAY),
698 LABEL(REP_PERIOD),
699 LABEL(REP_MAX),
700 LABEL_END,
701};
702static struct label snd_labels[] = {
703 LABEL(SND_CLICK),
704 LABEL(SND_BELL),
705 LABEL(SND_TONE),
706 LABEL(SND_MAX),
707 LABEL_END,
708};
709static struct label mt_tool_labels[] = {
710 LABEL(MT_TOOL_FINGER),
711 LABEL(MT_TOOL_PEN),
712 LABEL(MT_TOOL_PALM),
713 LABEL(MT_TOOL_MAX),
714 LABEL_END,
715};
716static struct label ff_status_labels[] = {
717 LABEL(FF_STATUS_STOPPED),
718 LABEL(FF_STATUS_PLAYING),
719 LABEL(FF_STATUS_MAX),
720 LABEL_END,
721};
722static struct label ff_labels[] = {
723 LABEL(FF_RUMBLE),
724 LABEL(FF_PERIODIC),
725 LABEL(FF_CONSTANT),
726 LABEL(FF_SPRING),
727 LABEL(FF_FRICTION),
728 LABEL(FF_DAMPER),
729 LABEL(FF_INERTIA),
730 LABEL(FF_RAMP),
731 LABEL(FF_SQUARE),
732 LABEL(FF_TRIANGLE),
733 LABEL(FF_SINE),
734 LABEL(FF_SAW_UP),
735 LABEL(FF_SAW_DOWN),
736 LABEL(FF_CUSTOM),
737 LABEL(FF_GAIN),
738 LABEL(FF_AUTOCENTER),
739 LABEL(FF_MAX),
740 LABEL_END,
741};