forked from gregkh/usbutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usb-spec.h
1602 lines (1584 loc) · 72.2 KB
/
usb-spec.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-License-Identifier: GPL-2.0+
/*
* USB specification data
*
* Copyright (C) 2013 Tom Gundersen <teg@jklm.no>
*/
#ifndef _USB_SPEC_H
#define _USB_SPEC_H
#include <sys/types.h>
/* ---------------------------------------------------------------------- */
struct audioterminal {
struct audioterminal *next;
const u_int16_t termt;
const char *name;
};
struct videoterminal {
struct videoterminal *next;
const u_int16_t termt;
const char *name;
};
struct genericstrtable {
struct genericstrtable *next;
const unsigned int num;
const char *name;
};
/* ---------------------------------------------------------------------- */
static struct audioterminal audioterminals[] =
{
{ NULL, 0x0100, "USB Undefined" },
{ NULL, 0x0101, "USB Streaming" },
{ NULL, 0x01ff, "USB Vendor Specific" },
{ NULL, 0x0200, "Input Undefined" },
{ NULL, 0x0201, "Microphone" },
{ NULL, 0x0202, "Desktop Microphone" },
{ NULL, 0x0203, "Personal Microphone" },
{ NULL, 0x0204, "Omni-directional Microphone" },
{ NULL, 0x0205, "Microphone Array" },
{ NULL, 0x0206, "Processing Microphone Array" },
{ NULL, 0x0300, "Output Undefined" },
{ NULL, 0x0301, "Speaker" },
{ NULL, 0x0302, "Headphones" },
{ NULL, 0x0303, "Head Mounted Display Audio" },
{ NULL, 0x0304, "Desktop Speaker" },
{ NULL, 0x0305, "Room Speaker" },
{ NULL, 0x0306, "Communication Speaker" },
{ NULL, 0x0307, "Low Frequency Effects Speaker" },
{ NULL, 0x0400, "Bidirectional Undefined" },
{ NULL, 0x0401, "Handset" },
{ NULL, 0x0402, "Headset" },
{ NULL, 0x0403, "Speakerphone, no echo reduction" },
{ NULL, 0x0404, "Echo-suppressing speakerphone" },
{ NULL, 0x0405, "Echo-canceling speakerphone" },
{ NULL, 0x0500, "Telephony Undefined" },
{ NULL, 0x0501, "Phone line" },
{ NULL, 0x0502, "Telephone" },
{ NULL, 0x0503, "Down Line Phone" },
{ NULL, 0x0600, "External Undefined" },
{ NULL, 0x0601, "Analog Connector" },
{ NULL, 0x0602, "Digital Audio Interface" },
{ NULL, 0x0603, "Line Connector" },
{ NULL, 0x0604, "Legacy Audio Connector" },
{ NULL, 0x0605, "SPDIF interface" },
{ NULL, 0x0606, "1394 DA stream" },
{ NULL, 0x0607, "1394 DV stream soundtrack" },
{ NULL, 0x0700, "Embedded Undefined" },
{ NULL, 0x0701, "Level Calibration Noise Source" },
{ NULL, 0x0702, "Equalization Noise" },
{ NULL, 0x0703, "CD Player" },
{ NULL, 0x0704, "DAT" },
{ NULL, 0x0705, "DCC" },
{ NULL, 0x0706, "MiniDisc" },
{ NULL, 0x0707, "Analog Tape" },
{ NULL, 0x0708, "Phonograph" },
{ NULL, 0x0709, "VCR Audio" },
{ NULL, 0x070a, "Video Disc Audio" },
{ NULL, 0x070b, "DVD Audio" },
{ NULL, 0x070c, "TV Tuner Audio" },
{ NULL, 0x070d, "Satellite Receiver Audio" },
{ NULL, 0x070e, "Cable Tuner Audio" },
{ NULL, 0x070f, "DSS Audio" },
{ NULL, 0x0710, "Radio Receiver" },
{ NULL, 0x0711, "Radio Transmitter" },
{ NULL, 0x0712, "Multitrack Recorder" },
{ NULL, 0x0713, "Synthesizer" },
{ NULL },
};
static struct videoterminal videoterminals[] =
{
{ NULL, 0x0100, "USB Vendor Specific" },
{ NULL, 0x0101, "USB Streaming" },
{ NULL, 0x0200, "Input Vendor Specific" },
{ NULL, 0x0201, "Camera Sensor" },
{ NULL, 0x0202, "Sequential Media" },
{ NULL, 0x0300, "Output Vendor Specific" },
{ NULL, 0x0301, "Generic Display" },
{ NULL, 0x0302, "Sequential Media" },
{ NULL, 0x0400, "External Vendor Specific" },
{ NULL, 0x0401, "Composite Video" },
{ NULL, 0x0402, "S-Video" },
{ NULL, 0x0403, "Component Video" },
{ NULL },
};
static struct genericstrtable hiddescriptors[] =
{
{ NULL, 0x21, "HID" },
{ NULL, 0x22, "Report" },
{ NULL, 0x23, "Physical" },
{ NULL },
};
static struct genericstrtable reports[] =
{
{ NULL, 0x04, "Usage Page" },
{ NULL, 0x08, "Usage" },
{ NULL, 0x14, "Logical Minimum" },
{ NULL, 0x18, "Usage Minimum" },
{ NULL, 0x24, "Logical Maximum" },
{ NULL, 0x28, "Usage Maximum" },
{ NULL, 0x34, "Physical Minimum" },
{ NULL, 0x38, "Designator Index" },
{ NULL, 0x44, "Physical Maximum" },
{ NULL, 0x48, "Designator Minimum" },
{ NULL, 0x54, "Unit Exponent" },
{ NULL, 0x58, "Designator Maximum" },
{ NULL, 0x64, "Unit" },
{ NULL, 0x74, "Report Size" },
{ NULL, 0x78, "String Index" },
{ NULL, 0x80, "Input" },
{ NULL, 0x84, "Report ID" },
{ NULL, 0x88, "String Minimum" },
{ NULL, 0x90, "Output" },
{ NULL, 0x94, "Report Count" },
{ NULL, 0x98, "String Maximum" },
{ NULL, 0xa0, "Collection" },
{ NULL, 0xa4, "Push" },
{ NULL, 0xa8, "Delimiter" },
{ NULL, 0xb0, "Feature" },
{ NULL, 0xb4, "Pop" },
{ NULL, 0xc0, "End Collection" },
{ NULL },
};
static struct genericstrtable huts[] =
{
{ NULL, 0x00, "Undefined" },
{ NULL, 0x01, "Generic Desktop Controls" },
{ NULL, 0x02, "Simulation Controls" },
{ NULL, 0x03, "VR Controls" },
{ NULL, 0x04, "Sport Controls" },
{ NULL, 0x05, "Game Controls" },
{ NULL, 0x07, "Keyboard" },
{ NULL, 0x08, "LEDs" },
{ NULL, 0x09, "Buttons" },
{ NULL, 0x0a, "Ordinal" },
{ NULL, 0x0b, "Telephony" },
{ NULL, 0x0c, "Consumer" },
{ NULL, 0x0d, "Digitizer" },
{ NULL, 0x0f, "PID Page" },
{ NULL, 0x10, "Unicode" },
{ NULL, 0x14, "Alphanumeric Display" },
{ NULL, 0x80, "USB Monitor" },
{ NULL, 0x81, "USB Monitor Enumerated Values" },
{ NULL, 0x82, "Monitor VESA Virtual Controls" },
{ NULL, 0x84, "Power Device Page" },
{ NULL, 0x85, "Battery System Page" },
{ NULL, 0x86, "Power Pages" },
{ NULL, 0x87, "Power Pages" },
{ NULL, 0x8c, "Bar Code Scanner Page (POS)" },
{ NULL, 0x8d, "Scale Page (POS)" },
{ NULL, 0x90, "Camera Control Page" },
{ NULL, 0x91, "Arcade Control Page" },
{ NULL, 0xf0, "Cash Device" },
{ NULL, 0xff, "Vendor Specific" },
{ NULL },
};
static struct genericstrtable biass[] =
{
{ NULL, 0x0, "Not Applicable" },
{ NULL, 0x1, "Right Hand" },
{ NULL, 0x2, "Left Hand" },
{ NULL, 0x3, "Both Hands" },
{ NULL, 0x4, "Either Hand" },
{ NULL },
};
static struct genericstrtable physdess[] =
{
{ NULL, 0x00, "None" },
{ NULL, 0x01, "Hand" },
{ NULL, 0x02, "Eyeball" },
{ NULL, 0x03, "Eyebrow" },
{ NULL, 0x04, "Eyelid" },
{ NULL, 0x05, "Ear" },
{ NULL, 0x06, "Nose" },
{ NULL, 0x07, "Mouth" },
{ NULL, 0x08, "Upper Lip" },
{ NULL, 0x09, "Lower Lip" },
{ NULL, 0x0a, "Jaw" },
{ NULL, 0x0b, "Neck" },
{ NULL, 0x0c, "Upper Arm" },
{ NULL, 0x0d, "Elbow" },
{ NULL, 0x0e, "Forearm" },
{ NULL, 0x0f, "Wrist" },
{ NULL, 0x10, "Palm" },
{ NULL, 0x11, "Thumb" },
{ NULL, 0x12, "Index Finger" },
{ NULL, 0x13, "Middle Finger" },
{ NULL, 0x14, "Ring Finger" },
{ NULL, 0x15, "Little Finger" },
{ NULL, 0x16, "Head" },
{ NULL, 0x17, "Shoulder" },
{ NULL, 0x18, "Hip" },
{ NULL, 0x19, "Waist" },
{ NULL, 0x1a, "Thigh" },
{ NULL, 0x1b, "Knee" },
{ NULL, 0x1c, "calf" },
{ NULL, 0x1d, "Ankle" },
{ NULL, 0x1e, "Foot" },
{ NULL, 0x1f, "Heel" },
{ NULL, 0x20, "Ball of Foot" },
{ NULL, 0x21, "Big Toe" },
{ NULL, 0x22, "Second Toe" },
{ NULL, 0x23, "Third Toe" },
{ NULL, 0x24, "Fourth Toe" },
{ NULL, 0x25, "Fifth Toe" },
{ NULL, 0x26, "Brow" },
{ NULL, 0x27, "Cheek" },
{ NULL },
};
/* HUT usage specs are represented as:
* (huttype << 16) + hutus
*/
static struct genericstrtable hutus[] =
{
{ NULL, (0x01 << 16) + 0x000, "Undefined" },
{ NULL, (0x01 << 16) + 0x001, "Pointer" },
{ NULL, (0x01 << 16) + 0x002, "Mouse" },
{ NULL, (0x01 << 16) + 0x004, "Joystick" },
{ NULL, (0x01 << 16) + 0x005, "Gamepad" },
{ NULL, (0x01 << 16) + 0x006, "Keyboard" },
{ NULL, (0x01 << 16) + 0x007, "Keypad" },
{ NULL, (0x01 << 16) + 0x008, "Multi-Axis Controller" },
{ NULL, (0x01 << 16) + 0x030, "Direction-X" },
{ NULL, (0x01 << 16) + 0x031, "Direction-Y" },
{ NULL, (0x01 << 16) + 0x032, "Direction-Z" },
{ NULL, (0x01 << 16) + 0x033, "Rotate-X" },
{ NULL, (0x01 << 16) + 0x034, "Rotate-Y" },
{ NULL, (0x01 << 16) + 0x035, "Rotate-Z" },
{ NULL, (0x01 << 16) + 0x036, "Slider" },
{ NULL, (0x01 << 16) + 0x037, "Dial" },
{ NULL, (0x01 << 16) + 0x038, "Wheel" },
{ NULL, (0x01 << 16) + 0x039, "Hat Switch" },
{ NULL, (0x01 << 16) + 0x03a, "Counted Buffer" },
{ NULL, (0x01 << 16) + 0x03b, "Byte Count" },
{ NULL, (0x01 << 16) + 0x03c, "Motion Wakeup" },
{ NULL, (0x01 << 16) + 0x03d, "Start" },
{ NULL, (0x01 << 16) + 0x03e, "Select" },
{ NULL, (0x01 << 16) + 0x040, "Vector-X" },
{ NULL, (0x01 << 16) + 0x041, "Vector-Y" },
{ NULL, (0x01 << 16) + 0x042, "Vector-Z" },
{ NULL, (0x01 << 16) + 0x043, "Vector-X relative Body" },
{ NULL, (0x01 << 16) + 0x044, "Vector-Y relative Body" },
{ NULL, (0x01 << 16) + 0x045, "Vector-Z relative Body" },
{ NULL, (0x01 << 16) + 0x046, "Vector" },
{ NULL, (0x01 << 16) + 0x080, "System Control" },
{ NULL, (0x01 << 16) + 0x081, "System Power Down" },
{ NULL, (0x01 << 16) + 0x082, "System Sleep" },
{ NULL, (0x01 << 16) + 0x083, "System Wake Up" },
{ NULL, (0x01 << 16) + 0x084, "System Context Menu" },
{ NULL, (0x01 << 16) + 0x085, "System Main Menu" },
{ NULL, (0x01 << 16) + 0x086, "System App Menu" },
{ NULL, (0x01 << 16) + 0x087, "System Menu Help" },
{ NULL, (0x01 << 16) + 0x088, "System Menu Exit" },
{ NULL, (0x01 << 16) + 0x089, "System Menu Select" },
{ NULL, (0x01 << 16) + 0x08a, "System Menu Right" },
{ NULL, (0x01 << 16) + 0x08b, "System Menu Left" },
{ NULL, (0x01 << 16) + 0x08c, "System Menu Up" },
{ NULL, (0x01 << 16) + 0x08d, "System Menu Down" },
{ NULL, (0x01 << 16) + 0x090, "Direction Pad Up" },
{ NULL, (0x01 << 16) + 0x091, "Direction Pad Down" },
{ NULL, (0x01 << 16) + 0x092, "Direction Pad Right" },
{ NULL, (0x01 << 16) + 0x093, "Direction Pad Left" },
{ NULL, (0x02 << 16) + 0x000, "Undefined" },
{ NULL, (0x02 << 16) + 0x001, "Flight Simulation Device" },
{ NULL, (0x02 << 16) + 0x002, "Automobile Simulation Device" },
{ NULL, (0x02 << 16) + 0x003, "Tank Simulation Device" },
{ NULL, (0x02 << 16) + 0x004, "Spaceship Simulation Device" },
{ NULL, (0x02 << 16) + 0x005, "Submarine Simulation Device" },
{ NULL, (0x02 << 16) + 0x006, "Sailing Simulation Device" },
{ NULL, (0x02 << 16) + 0x007, "Motorcycle Simulation Device" },
{ NULL, (0x02 << 16) + 0x008, "Sports Simulation Device" },
{ NULL, (0x02 << 16) + 0x009, "Airplane Simualtion Device" },
{ NULL, (0x02 << 16) + 0x00a, "Helicopter Simulation Device" },
{ NULL, (0x02 << 16) + 0x00b, "Magic Carpet Simulation Device" },
{ NULL, (0x02 << 16) + 0x00c, "Bicycle Simulation Device" },
{ NULL, (0x02 << 16) + 0x020, "Flight Control Stick" },
{ NULL, (0x02 << 16) + 0x021, "Flight Stick" },
{ NULL, (0x02 << 16) + 0x022, "Cyclic Control" },
{ NULL, (0x02 << 16) + 0x023, "Cyclic Trim" },
{ NULL, (0x02 << 16) + 0x024, "Flight Yoke" },
{ NULL, (0x02 << 16) + 0x025, "Track Control" },
{ NULL, (0x02 << 16) + 0x0b0, "Aileron" },
{ NULL, (0x02 << 16) + 0x0b1, "Aileron Trim" },
{ NULL, (0x02 << 16) + 0x0b2, "Anti-Torque Control" },
{ NULL, (0x02 << 16) + 0x0b3, "Autopilot Enable" },
{ NULL, (0x02 << 16) + 0x0b4, "Chaff Release" },
{ NULL, (0x02 << 16) + 0x0b5, "Collective Control" },
{ NULL, (0x02 << 16) + 0x0b6, "Dive Break" },
{ NULL, (0x02 << 16) + 0x0b7, "Electronic Countermeasures" },
{ NULL, (0x02 << 16) + 0x0b8, "Elevator" },
{ NULL, (0x02 << 16) + 0x0b9, "Elevator Trim" },
{ NULL, (0x02 << 16) + 0x0ba, "Rudder" },
{ NULL, (0x02 << 16) + 0x0bb, "Throttle" },
{ NULL, (0x02 << 16) + 0x0bc, "Flight COmmunications" },
{ NULL, (0x02 << 16) + 0x0bd, "Flare Release" },
{ NULL, (0x02 << 16) + 0x0be, "Landing Gear" },
{ NULL, (0x02 << 16) + 0x0bf, "Toe Break" },
{ NULL, (0x02 << 16) + 0x0c0, "Trigger" },
{ NULL, (0x02 << 16) + 0x0c1, "Weapon Arm" },
{ NULL, (0x02 << 16) + 0x0c2, "Weapons Select" },
{ NULL, (0x02 << 16) + 0x0c3, "Wing Flaps" },
{ NULL, (0x02 << 16) + 0x0c4, "Accelerator" },
{ NULL, (0x02 << 16) + 0x0c5, "Brake" },
{ NULL, (0x02 << 16) + 0x0c6, "Clutch" },
{ NULL, (0x02 << 16) + 0x0c7, "Shifter" },
{ NULL, (0x02 << 16) + 0x0c8, "Steering" },
{ NULL, (0x02 << 16) + 0x0c9, "Turret Direction" },
{ NULL, (0x02 << 16) + 0x0ca, "Barrel Elevation" },
{ NULL, (0x02 << 16) + 0x0cb, "Drive Plane" },
{ NULL, (0x02 << 16) + 0x0cc, "Ballast" },
{ NULL, (0x02 << 16) + 0x0cd, "Bicylce Crank" },
{ NULL, (0x02 << 16) + 0x0ce, "Handle Bars" },
{ NULL, (0x02 << 16) + 0x0cf, "Front Brake" },
{ NULL, (0x02 << 16) + 0x0d0, "Rear Brake" },
{ NULL, (0x03 << 16) + 0x000, "Unidentified" },
{ NULL, (0x03 << 16) + 0x001, "Belt" },
{ NULL, (0x03 << 16) + 0x002, "Body Suit" },
{ NULL, (0x03 << 16) + 0x003, "Flexor" },
{ NULL, (0x03 << 16) + 0x004, "Glove" },
{ NULL, (0x03 << 16) + 0x005, "Head Tracker" },
{ NULL, (0x03 << 16) + 0x006, "Head Mounted Display" },
{ NULL, (0x03 << 16) + 0x007, "Hand Tracker" },
{ NULL, (0x03 << 16) + 0x008, "Oculometer" },
{ NULL, (0x03 << 16) + 0x009, "Vest" },
{ NULL, (0x03 << 16) + 0x00a, "Animatronic Device" },
{ NULL, (0x03 << 16) + 0x020, "Stereo Enable" },
{ NULL, (0x03 << 16) + 0x021, "Display Enable" },
{ NULL, (0x04 << 16) + 0x000, "Unidentified" },
{ NULL, (0x04 << 16) + 0x001, "Baseball Bat" },
{ NULL, (0x04 << 16) + 0x002, "Golf Club" },
{ NULL, (0x04 << 16) + 0x003, "Rowing Machine" },
{ NULL, (0x04 << 16) + 0x004, "Treadmill" },
{ NULL, (0x04 << 16) + 0x030, "Oar" },
{ NULL, (0x04 << 16) + 0x031, "Slope" },
{ NULL, (0x04 << 16) + 0x032, "Rate" },
{ NULL, (0x04 << 16) + 0x033, "Stick Speed" },
{ NULL, (0x04 << 16) + 0x034, "Stick Face Angle" },
{ NULL, (0x04 << 16) + 0x035, "Stick Heel/Toe" },
{ NULL, (0x04 << 16) + 0x036, "Stick Follow Through" },
{ NULL, (0x04 << 16) + 0x038, "Stick Type" },
{ NULL, (0x04 << 16) + 0x039, "Stick Height" },
{ NULL, (0x04 << 16) + 0x047, "Stick Temp" },
{ NULL, (0x04 << 16) + 0x050, "Putter" },
{ NULL, (0x04 << 16) + 0x051, "1 Iron" },
{ NULL, (0x04 << 16) + 0x052, "2 Iron" },
{ NULL, (0x04 << 16) + 0x053, "3 Iron" },
{ NULL, (0x04 << 16) + 0x054, "4 Iron" },
{ NULL, (0x04 << 16) + 0x055, "5 Iron" },
{ NULL, (0x04 << 16) + 0x056, "6 Iron" },
{ NULL, (0x04 << 16) + 0x057, "7 Iron" },
{ NULL, (0x04 << 16) + 0x058, "8 Iron" },
{ NULL, (0x04 << 16) + 0x059, "9 Iron" },
{ NULL, (0x04 << 16) + 0x05a, "10 Iron" },
{ NULL, (0x04 << 16) + 0x05b, "11 Iron" },
{ NULL, (0x04 << 16) + 0x05c, "Sand Wedge" },
{ NULL, (0x04 << 16) + 0x05d, "Loft Wedge" },
{ NULL, (0x04 << 16) + 0x05e, "Power Wedge" },
{ NULL, (0x04 << 16) + 0x05f, "1 Wood" },
{ NULL, (0x04 << 16) + 0x060, "3 Wood" },
{ NULL, (0x04 << 16) + 0x061, "5 Wood" },
{ NULL, (0x04 << 16) + 0x062, "7 Wood" },
{ NULL, (0x04 << 16) + 0x063, "9 Wood" },
{ NULL, (0x05 << 16) + 0x000, "Undefined" },
{ NULL, (0x05 << 16) + 0x001, "3D Game Controller" },
{ NULL, (0x05 << 16) + 0x002, "Pinball Device" },
{ NULL, (0x05 << 16) + 0x003, "Gun Device" },
{ NULL, (0x05 << 16) + 0x020, "Point Of View" },
{ NULL, (0x05 << 16) + 0x021, "Turn Right/Left" },
{ NULL, (0x05 << 16) + 0x022, "Pitch Right/Left" },
{ NULL, (0x05 << 16) + 0x023, "Roll Forward/Backward" },
{ NULL, (0x05 << 16) + 0x024, "Move Right/Left" },
{ NULL, (0x05 << 16) + 0x025, "Move Forward/Backward" },
{ NULL, (0x05 << 16) + 0x026, "Move Up/Down" },
{ NULL, (0x05 << 16) + 0x027, "Lean Right/Left" },
{ NULL, (0x05 << 16) + 0x028, "Lean Forward/Backward" },
{ NULL, (0x05 << 16) + 0x029, "Height of POV" },
{ NULL, (0x05 << 16) + 0x02a, "Flipper" },
{ NULL, (0x05 << 16) + 0x02b, "Secondary Flipper" },
{ NULL, (0x05 << 16) + 0x02c, "Bump" },
{ NULL, (0x05 << 16) + 0x02d, "New Game" },
{ NULL, (0x05 << 16) + 0x02e, "Shoot Ball" },
{ NULL, (0x05 << 16) + 0x02f, "Player" },
{ NULL, (0x05 << 16) + 0x030, "Gun Bolt" },
{ NULL, (0x05 << 16) + 0x031, "Gun Clip" },
{ NULL, (0x05 << 16) + 0x032, "Gun Selector" },
{ NULL, (0x05 << 16) + 0x033, "Gun Single Shot" },
{ NULL, (0x05 << 16) + 0x034, "Gun Burst" },
{ NULL, (0x05 << 16) + 0x035, "Gun Automatic" },
{ NULL, (0x05 << 16) + 0x036, "Gun Safety" },
{ NULL, (0x05 << 16) + 0x037, "Gamepad Fire/Jump" },
{ NULL, (0x05 << 16) + 0x038, "Gamepad Fun" },
{ NULL, (0x05 << 16) + 0x039, "Gamepad Trigger" },
{ NULL, (0x07 << 16) + 0x000, "No Event" },
{ NULL, (0x07 << 16) + 0x001, "Keyboard ErrorRollOver" },
{ NULL, (0x07 << 16) + 0x002, "Keyboard POSTfail" },
{ NULL, (0x07 << 16) + 0x003, "Keyboard Error Undefined" },
{ NULL, (0x07 << 16) + 0x004, "A" },
{ NULL, (0x07 << 16) + 0x005, "B" },
{ NULL, (0x07 << 16) + 0x006, "C" },
{ NULL, (0x07 << 16) + 0x007, "D" },
{ NULL, (0x07 << 16) + 0x008, "E" },
{ NULL, (0x07 << 16) + 0x009, "F" },
{ NULL, (0x07 << 16) + 0x00a, "G" },
{ NULL, (0x07 << 16) + 0x00b, "H" },
{ NULL, (0x07 << 16) + 0x00c, "I" },
{ NULL, (0x07 << 16) + 0x00d, "J" },
{ NULL, (0x07 << 16) + 0x00e, "K" },
{ NULL, (0x07 << 16) + 0x00f, "L" },
{ NULL, (0x07 << 16) + 0x010, "M" },
{ NULL, (0x07 << 16) + 0x011, "N" },
{ NULL, (0x07 << 16) + 0x012, "O" },
{ NULL, (0x07 << 16) + 0x013, "P" },
{ NULL, (0x07 << 16) + 0x014, "Q" },
{ NULL, (0x07 << 16) + 0x015, "R" },
{ NULL, (0x07 << 16) + 0x016, "S" },
{ NULL, (0x07 << 16) + 0x017, "T" },
{ NULL, (0x07 << 16) + 0x018, "U" },
{ NULL, (0x07 << 16) + 0x019, "V" },
{ NULL, (0x07 << 16) + 0x01a, "W" },
{ NULL, (0x07 << 16) + 0x01b, "X" },
{ NULL, (0x07 << 16) + 0x01c, "Y" },
{ NULL, (0x07 << 16) + 0x01d, "Z" },
{ NULL, (0x07 << 16) + 0x01e, "1 and ! (One and Exclamation)" },
{ NULL, (0x07 << 16) + 0x01f, "2 and @ (2 and at)" },
{ NULL, (0x07 << 16) + 0x020, "3 and # (3 and Hash)" },
{ NULL, (0x07 << 16) + 0x021, "4 and $ (4 and Dollar Sign)" },
{ NULL, (0x07 << 16) + 0x022, "5 and % (5 and Percent Sign)" },
{ NULL, (0x07 << 16) + 0x023, "6 and ^ (6 and circumflex)" },
{ NULL, (0x07 << 16) + 0x024, "7 and & (Seven and Ampersand)" },
{ NULL, (0x07 << 16) + 0x025, "8 and * (Eight and asterisk)" },
{ NULL, (0x07 << 16) + 0x026, "9 and ( (Nine and Parenthesis Left)" },
{ NULL, (0x07 << 16) + 0x027, "0 and ) (Zero and Parenthesis Right)" },
{ NULL, (0x07 << 16) + 0x028, "Return (Enter)" },
{ NULL, (0x07 << 16) + 0x029, "Escape" },
{ NULL, (0x07 << 16) + 0x02a, "Delete (Backspace)" },
{ NULL, (0x07 << 16) + 0x02b, "Tab" },
{ NULL, (0x07 << 16) + 0x02c, "Space Bar" },
{ NULL, (0x07 << 16) + 0x02d, "- and _ (Minus and underscore)" },
{ NULL, (0x07 << 16) + 0x02e, "= and + (Equal and Plus)" },
{ NULL, (0x07 << 16) + 0x02f, "[ and { (Bracket and Braces Left)" },
{ NULL, (0x07 << 16) + 0x030, "] and } (Bracket and Braces Right)" },
{ NULL, (0x07 << 16) + 0x031, "\\ and | (Backslash and Bar)" },
{ NULL, (0x07 << 16) + 0x032, "# and ~ (Hash and Tilde, Non-US Keyboard near right shift)" },
{ NULL, (0x07 << 16) + 0x033, "; and : (Semicolon and Colon)" },
{ NULL, (0x07 << 16) + 0x034, "´ and \" (Accent Acute and Double Quotes)" },
{ NULL, (0x07 << 16) + 0x035, "` and ~ (Accent Grace and Tilde)" },
{ NULL, (0x07 << 16) + 0x036, ", and < (Comma and Less)" },
{ NULL, (0x07 << 16) + 0x037, ". and > (Period and Greater)" },
{ NULL, (0x07 << 16) + 0x038, "/ and ? (Slash and Question Mark)" },
{ NULL, (0x07 << 16) + 0x039, "Caps Lock" },
{ NULL, (0x07 << 16) + 0x03a, "F1" },
{ NULL, (0x07 << 16) + 0x03b, "F2" },
{ NULL, (0x07 << 16) + 0x03c, "F3" },
{ NULL, (0x07 << 16) + 0x03d, "F4" },
{ NULL, (0x07 << 16) + 0x03e, "F5" },
{ NULL, (0x07 << 16) + 0x03f, "F6" },
{ NULL, (0x07 << 16) + 0x040, "F7" },
{ NULL, (0x07 << 16) + 0x041, "F8" },
{ NULL, (0x07 << 16) + 0x042, "F9" },
{ NULL, (0x07 << 16) + 0x043, "F10" },
{ NULL, (0x07 << 16) + 0x044, "F11" },
{ NULL, (0x07 << 16) + 0x045, "F12" },
{ NULL, (0x07 << 16) + 0x046, "Print Screen" },
{ NULL, (0x07 << 16) + 0x047, "Scroll Lock" },
{ NULL, (0x07 << 16) + 0x048, "Pause" },
{ NULL, (0x07 << 16) + 0x049, "Insert" },
{ NULL, (0x07 << 16) + 0x04a, "Home" },
{ NULL, (0x07 << 16) + 0x04b, "Page Up" },
{ NULL, (0x07 << 16) + 0x04c, "Delete Forward (without Changing Position)" },
{ NULL, (0x07 << 16) + 0x04d, "End" },
{ NULL, (0x07 << 16) + 0x04e, "Page Down" },
{ NULL, (0x07 << 16) + 0x04f, "Right Arrow" },
{ NULL, (0x07 << 16) + 0x050, "Left Arrow" },
{ NULL, (0x07 << 16) + 0x051, "Down Arrow" },
{ NULL, (0x07 << 16) + 0x052, "Up Arrow" },
{ NULL, (0x07 << 16) + 0x053, "Num Lock and Clear" },
{ NULL, (0x07 << 16) + 0x054, "Keypad / (Division Sign)" },
{ NULL, (0x07 << 16) + 0x055, "Keypad * (Multiplication Sign)" },
{ NULL, (0x07 << 16) + 0x056, "Keypad - (Subtraction Sign)" },
{ NULL, (0x07 << 16) + 0x057, "Keypad + (Addition Sign)" },
{ NULL, (0x07 << 16) + 0x058, "Keypad Enter" },
{ NULL, (0x07 << 16) + 0x059, "Keypad 1 and END" },
{ NULL, (0x07 << 16) + 0x05a, "Keypad 2 and Down Arrow" },
{ NULL, (0x07 << 16) + 0x05b, "Keypad 3 and Page Down" },
{ NULL, (0x07 << 16) + 0x05c, "Keypad 4 and Left Arrow" },
{ NULL, (0x07 << 16) + 0x05d, "Keypad 5 (Tactilei Raised)" },
{ NULL, (0x07 << 16) + 0x05f, "Keypad 6 and Right Arrow" },
{ NULL, (0x07 << 16) + 0x060, "Keypad 7 and Home" },
{ NULL, (0x07 << 16) + 0x061, "Keypad 8 and Up Arrow" },
{ NULL, (0x07 << 16) + 0x062, "Keypad 8 and Page Up" },
{ NULL, (0x07 << 16) + 0x063, "Keypad . (decimal delimiter) and Delete" },
{ NULL, (0x07 << 16) + 0x064, "\\ and | (Backslash and Bar, UK and Non-US Keyboard near left shift)" },
{ NULL, (0x07 << 16) + 0x065, "Keyboard Application (Windows Key for Win95 or Compose)" },
{ NULL, (0x07 << 16) + 0x066, "Power (not a key)" },
{ NULL, (0x07 << 16) + 0x067, "Keypad = (Equal Sign)" },
{ NULL, (0x07 << 16) + 0x068, "F13" },
{ NULL, (0x07 << 16) + 0x069, "F14" },
{ NULL, (0x07 << 16) + 0x06a, "F15" },
{ NULL, (0x07 << 16) + 0x06b, "F16" },
{ NULL, (0x07 << 16) + 0x06c, "F17" },
{ NULL, (0x07 << 16) + 0x06d, "F18" },
{ NULL, (0x07 << 16) + 0x06e, "F19" },
{ NULL, (0x07 << 16) + 0x06f, "F20" },
{ NULL, (0x07 << 16) + 0x070, "F21" },
{ NULL, (0x07 << 16) + 0x071, "F22" },
{ NULL, (0x07 << 16) + 0x072, "F23" },
{ NULL, (0x07 << 16) + 0x073, "F24" },
{ NULL, (0x07 << 16) + 0x074, "Execute" },
{ NULL, (0x07 << 16) + 0x075, "Help" },
{ NULL, (0x07 << 16) + 0x076, "Menu" },
{ NULL, (0x07 << 16) + 0x077, "Select" },
{ NULL, (0x07 << 16) + 0x078, "Stop" },
{ NULL, (0x07 << 16) + 0x079, "Again" },
{ NULL, (0x07 << 16) + 0x07a, "Undo" },
{ NULL, (0x07 << 16) + 0x07b, "Cut" },
{ NULL, (0x07 << 16) + 0x07c, "Copy" },
{ NULL, (0x07 << 16) + 0x07d, "Paste" },
{ NULL, (0x07 << 16) + 0x07e, "Find" },
{ NULL, (0x07 << 16) + 0x07f, "Mute" },
{ NULL, (0x07 << 16) + 0x080, "Volume Up" },
{ NULL, (0x07 << 16) + 0x081, "Volume Down" },
{ NULL, (0x07 << 16) + 0x082, "Locking Caps Lock" },
{ NULL, (0x07 << 16) + 0x083, "Locking Num Lock" },
{ NULL, (0x07 << 16) + 0x084, "Locking Scroll Lock" },
{ NULL, (0x07 << 16) + 0x085, "Keypad Comma" },
{ NULL, (0x07 << 16) + 0x086, "Keypad Equal Sign (AS/400)" },
{ NULL, (0x07 << 16) + 0x087, "International 1 (PC98)" },
{ NULL, (0x07 << 16) + 0x088, "International 2 (PC98)" },
{ NULL, (0x07 << 16) + 0x089, "International 3 (PC98)" },
{ NULL, (0x07 << 16) + 0x08a, "International 4 (PC98)" },
{ NULL, (0x07 << 16) + 0x08b, "International 5 (PC98)" },
{ NULL, (0x07 << 16) + 0x08c, "International 6 (PC98)" },
{ NULL, (0x07 << 16) + 0x08d, "International 7 (Toggle Single/Double Byte Mode)" },
{ NULL, (0x07 << 16) + 0x08e, "International 8" },
{ NULL, (0x07 << 16) + 0x08f, "International 9" },
{ NULL, (0x07 << 16) + 0x090, "LANG 1 (Hangul/English Toggle, Korea)" },
{ NULL, (0x07 << 16) + 0x091, "LANG 2 (Hanja Conversion, Korea)" },
{ NULL, (0x07 << 16) + 0x092, "LANG 3 (Katakana, Japan)" },
{ NULL, (0x07 << 16) + 0x093, "LANG 4 (Hiragana, Japan)" },
{ NULL, (0x07 << 16) + 0x094, "LANG 5 (Zenkaku/Hankaku, Japan)" },
{ NULL, (0x07 << 16) + 0x095, "LANG 6" },
{ NULL, (0x07 << 16) + 0x096, "LANG 7" },
{ NULL, (0x07 << 16) + 0x097, "LANG 8" },
{ NULL, (0x07 << 16) + 0x098, "LANG 9" },
{ NULL, (0x07 << 16) + 0x099, "Alternate Erase" },
{ NULL, (0x07 << 16) + 0x09a, "SysReq/Attention" },
{ NULL, (0x07 << 16) + 0x09b, "Cancel" },
{ NULL, (0x07 << 16) + 0x09c, "Clear" },
{ NULL, (0x07 << 16) + 0x09d, "Prior" },
{ NULL, (0x07 << 16) + 0x09e, "Return" },
{ NULL, (0x07 << 16) + 0x09f, "Separator" },
{ NULL, (0x07 << 16) + 0x0a0, "Out" },
{ NULL, (0x07 << 16) + 0x0a1, "Open" },
{ NULL, (0x07 << 16) + 0x0a2, "Clear/Again" },
{ NULL, (0x07 << 16) + 0x0a3, "CrSel/Props" },
{ NULL, (0x07 << 16) + 0x0a4, "ExSel" },
{ NULL, (0x07 << 16) + 0x0e0, "Control Left" },
{ NULL, (0x07 << 16) + 0x0e1, "Shift Left" },
{ NULL, (0x07 << 16) + 0x0e2, "Alt Left" },
{ NULL, (0x07 << 16) + 0x0e3, "GUI Left" },
{ NULL, (0x07 << 16) + 0x0e4, "Control Right" },
{ NULL, (0x07 << 16) + 0x0e5, "Shift Right" },
{ NULL, (0x07 << 16) + 0x0e6, "Alt Rigth" },
{ NULL, (0x07 << 16) + 0x0e7, "GUI Right" },
{ NULL, (0x08 << 16) + 0x000, "Undefined" },
{ NULL, (0x08 << 16) + 0x001, "NumLock" },
{ NULL, (0x08 << 16) + 0x002, "CapsLock" },
{ NULL, (0x08 << 16) + 0x003, "Scroll Lock" },
{ NULL, (0x08 << 16) + 0x004, "Compose" },
{ NULL, (0x08 << 16) + 0x005, "Kana" },
{ NULL, (0x08 << 16) + 0x006, "Power" },
{ NULL, (0x08 << 16) + 0x007, "Shift" },
{ NULL, (0x08 << 16) + 0x008, "Do not disturb" },
{ NULL, (0x08 << 16) + 0x009, "Mute" },
{ NULL, (0x08 << 16) + 0x00a, "Tone Enabke" },
{ NULL, (0x08 << 16) + 0x00b, "High Cut Filter" },
{ NULL, (0x08 << 16) + 0x00c, "Low Cut Filter" },
{ NULL, (0x08 << 16) + 0x00d, "Equalizer Enable" },
{ NULL, (0x08 << 16) + 0x00e, "Sound Field ON" },
{ NULL, (0x08 << 16) + 0x00f, "Surround On" },
{ NULL, (0x08 << 16) + 0x010, "Repeat" },
{ NULL, (0x08 << 16) + 0x011, "Stereo" },
{ NULL, (0x08 << 16) + 0x012, "Sampling Rate Detect" },
{ NULL, (0x08 << 16) + 0x013, "Spinning" },
{ NULL, (0x08 << 16) + 0x014, "CAV" },
{ NULL, (0x08 << 16) + 0x015, "CLV" },
{ NULL, (0x08 << 16) + 0x016, "Recording Format Detect" },
{ NULL, (0x08 << 16) + 0x017, "Off-Hook" },
{ NULL, (0x08 << 16) + 0x018, "Ring" },
{ NULL, (0x08 << 16) + 0x019, "Message Waiting" },
{ NULL, (0x08 << 16) + 0x01a, "Data Mode" },
{ NULL, (0x08 << 16) + 0x01b, "Battery Operation" },
{ NULL, (0x08 << 16) + 0x01c, "Battery OK" },
{ NULL, (0x08 << 16) + 0x01d, "Battery Low" },
{ NULL, (0x08 << 16) + 0x01e, "Speaker" },
{ NULL, (0x08 << 16) + 0x01f, "Head Set" },
{ NULL, (0x08 << 16) + 0x020, "Hold" },
{ NULL, (0x08 << 16) + 0x021, "Microphone" },
{ NULL, (0x08 << 16) + 0x022, "Coverage" },
{ NULL, (0x08 << 16) + 0x023, "Night Mode" },
{ NULL, (0x08 << 16) + 0x024, "Send Calls" },
{ NULL, (0x08 << 16) + 0x025, "Call Pickup" },
{ NULL, (0x08 << 16) + 0x026, "Conference" },
{ NULL, (0x08 << 16) + 0x027, "Stand-by" },
{ NULL, (0x08 << 16) + 0x028, "Camera On" },
{ NULL, (0x08 << 16) + 0x029, "Camera Off" },
{ NULL, (0x08 << 16) + 0x02a, "On-Line" },
{ NULL, (0x08 << 16) + 0x02b, "Off-Line" },
{ NULL, (0x08 << 16) + 0x02c, "Busy" },
{ NULL, (0x08 << 16) + 0x02d, "Ready" },
{ NULL, (0x08 << 16) + 0x02e, "Paper-Out" },
{ NULL, (0x08 << 16) + 0x02f, "Paper-Jam" },
{ NULL, (0x08 << 16) + 0x030, "Remote" },
{ NULL, (0x08 << 16) + 0x031, "Forward" },
{ NULL, (0x08 << 16) + 0x032, "Reverse" },
{ NULL, (0x08 << 16) + 0x033, "Stop" },
{ NULL, (0x08 << 16) + 0x034, "Rewind" },
{ NULL, (0x08 << 16) + 0x035, "Fast Forward" },
{ NULL, (0x08 << 16) + 0x036, "Play" },
{ NULL, (0x08 << 16) + 0x037, "Pause" },
{ NULL, (0x08 << 16) + 0x038, "Record" },
{ NULL, (0x08 << 16) + 0x039, "Error" },
{ NULL, (0x08 << 16) + 0x03a, "Usage Selected Indicator" },
{ NULL, (0x08 << 16) + 0x03b, "Usage In Use Indicator" },
{ NULL, (0x08 << 16) + 0x03c, "Usage Multi Indicator" },
{ NULL, (0x08 << 16) + 0x03d, "Indicator On" },
{ NULL, (0x08 << 16) + 0x03e, "Indicator Flash" },
{ NULL, (0x08 << 16) + 0x03f, "Indicator Slow Blink" },
{ NULL, (0x08 << 16) + 0x040, "Indicator Fast Blink" },
{ NULL, (0x08 << 16) + 0x041, "Indicator Off" },
{ NULL, (0x08 << 16) + 0x042, "Flash On Time" },
{ NULL, (0x08 << 16) + 0x043, "Slow Blink On Time" },
{ NULL, (0x08 << 16) + 0x044, "Slow Blink Off Time" },
{ NULL, (0x08 << 16) + 0x045, "Fast Blink On Time" },
{ NULL, (0x08 << 16) + 0x046, "Fast Blink Off Time" },
{ NULL, (0x08 << 16) + 0x047, "Usage Color Indicator" },
{ NULL, (0x08 << 16) + 0x048, "Indicator Red" },
{ NULL, (0x08 << 16) + 0x049, "Indicator Green" },
{ NULL, (0x08 << 16) + 0x04a, "Indicator Amber" },
{ NULL, (0x08 << 16) + 0x04b, "Generic Indicator" },
{ NULL, (0x08 << 16) + 0x04c, "System Suspend" },
{ NULL, (0x08 << 16) + 0x04d, "External Power Connected" },
{ NULL, (0x09 << 16) + 0x000, "No Button Pressed" },
{ NULL, (0x09 << 16) + 0x001, "Button 1 (Primary)" },
{ NULL, (0x09 << 16) + 0x002, "Button 2 (Secondary)" },
{ NULL, (0x09 << 16) + 0x003, "Button 3 (Tertiary)" },
{ NULL, (0x09 << 16) + 0x004, "Button 4" },
{ NULL, (0x09 << 16) + 0x005, "Button 5" },
{ NULL, (0x0a << 16) + 0x001, "Instance 1" },
{ NULL, (0x0a << 16) + 0x002, "Instance 2" },
{ NULL, (0x0a << 16) + 0x003, "Instance 3" },
{ NULL, (0x0b << 16) + 0x000, "Unassigned" },
{ NULL, (0x0b << 16) + 0x001, "Phone" },
{ NULL, (0x0b << 16) + 0x002, "Answering Machine" },
{ NULL, (0x0b << 16) + 0x003, "Message Controls" },
{ NULL, (0x0b << 16) + 0x004, "Handset" },
{ NULL, (0x0b << 16) + 0x005, "Headset" },
{ NULL, (0x0b << 16) + 0x006, "Telephony Key Pad" },
{ NULL, (0x0b << 16) + 0x007, "Programmable Button" },
{ NULL, (0x0b << 16) + 0x020, "Hook Switch" },
{ NULL, (0x0b << 16) + 0x021, "Flash" },
{ NULL, (0x0b << 16) + 0x022, "Feature" },
{ NULL, (0x0b << 16) + 0x023, "Hold" },
{ NULL, (0x0b << 16) + 0x024, "Redial" },
{ NULL, (0x0b << 16) + 0x025, "Transfer" },
{ NULL, (0x0b << 16) + 0x026, "Drop" },
{ NULL, (0x0b << 16) + 0x027, "Park" },
{ NULL, (0x0b << 16) + 0x028, "Forward Calls" },
{ NULL, (0x0b << 16) + 0x029, "Alternate Function" },
{ NULL, (0x0b << 16) + 0x02a, "Line" },
{ NULL, (0x0b << 16) + 0x02b, "Speaker Phone" },
{ NULL, (0x0b << 16) + 0x02c, "Conference" },
{ NULL, (0x0b << 16) + 0x02d, "Ring Enable" },
{ NULL, (0x0b << 16) + 0x02e, "Ring Select" },
{ NULL, (0x0b << 16) + 0x02f, "Phone Mute" },
{ NULL, (0x0b << 16) + 0x030, "Caller ID" },
{ NULL, (0x0b << 16) + 0x050, "Speed Dial" },
{ NULL, (0x0b << 16) + 0x051, "Store Number" },
{ NULL, (0x0b << 16) + 0x052, "Recall Number" },
{ NULL, (0x0b << 16) + 0x053, "Phone Directory" },
{ NULL, (0x0b << 16) + 0x070, "Voice Mail" },
{ NULL, (0x0b << 16) + 0x071, "Screen Calls" },
{ NULL, (0x0b << 16) + 0x072, "Do Not Disturb" },
{ NULL, (0x0b << 16) + 0x073, "Message" },
{ NULL, (0x0b << 16) + 0x074, "Answer On/Offf" },
{ NULL, (0x0b << 16) + 0x090, "Inside Dial Tone" },
{ NULL, (0x0b << 16) + 0x091, "Outside Dial Tone" },
{ NULL, (0x0b << 16) + 0x092, "Inside Ring Tone" },
{ NULL, (0x0b << 16) + 0x093, "Outside Ring Tone" },
{ NULL, (0x0b << 16) + 0x094, "Priority Ring Tone" },
{ NULL, (0x0b << 16) + 0x095, "Inside Ringback" },
{ NULL, (0x0b << 16) + 0x096, "Priority Ringback" },
{ NULL, (0x0b << 16) + 0x097, "Line Busy Tone" },
{ NULL, (0x0b << 16) + 0x098, "Recorder Tone" },
{ NULL, (0x0b << 16) + 0x099, "Call Waiting Tone" },
{ NULL, (0x0b << 16) + 0x09a, "Confirmation Tone 1" },
{ NULL, (0x0b << 16) + 0x09b, "Confirmation Tone 2" },
{ NULL, (0x0b << 16) + 0x09c, "Tones Off" },
{ NULL, (0x0b << 16) + 0x09d, "Outside Ringback" },
{ NULL, (0x0b << 16) + 0x0b0, "Key 1" },
{ NULL, (0x0b << 16) + 0x0b1, "Key 2" },
{ NULL, (0x0b << 16) + 0x0b3, "Key 3" },
{ NULL, (0x0b << 16) + 0x0b4, "Key 4" },
{ NULL, (0x0b << 16) + 0x0b5, "Key 5" },
{ NULL, (0x0b << 16) + 0x0b6, "Key 6" },
{ NULL, (0x0b << 16) + 0x0b7, "Key 7" },
{ NULL, (0x0b << 16) + 0x0b8, "Key 8" },
{ NULL, (0x0b << 16) + 0x0b9, "Key 9" },
{ NULL, (0x0b << 16) + 0x0ba, "Key Star" },
{ NULL, (0x0b << 16) + 0x0bb, "Key Pound" },
{ NULL, (0x0b << 16) + 0x0bc, "Key A" },
{ NULL, (0x0b << 16) + 0x0bd, "Key B" },
{ NULL, (0x0b << 16) + 0x0be, "Key C" },
{ NULL, (0x0b << 16) + 0x0bf, "Key D" },
{ NULL, (0x0c << 16) + 0x000, "Unassigned" },
{ NULL, (0x0c << 16) + 0x001, "Consumer Control" },
{ NULL, (0x0c << 16) + 0x002, "Numeric Key Pad" },
{ NULL, (0x0c << 16) + 0x003, "Programmable Buttons" },
{ NULL, (0x0c << 16) + 0x020, "+10" },
{ NULL, (0x0c << 16) + 0x021, "+100" },
{ NULL, (0x0c << 16) + 0x022, "AM/PM" },
{ NULL, (0x0c << 16) + 0x030, "Power" },
{ NULL, (0x0c << 16) + 0x031, "Reset" },
{ NULL, (0x0c << 16) + 0x032, "Sleep" },
{ NULL, (0x0c << 16) + 0x033, "Sleep After" },
{ NULL, (0x0c << 16) + 0x034, "Sleep Mode" },
{ NULL, (0x0c << 16) + 0x035, "Illumination" },
{ NULL, (0x0c << 16) + 0x036, "Function Buttons" },
{ NULL, (0x0c << 16) + 0x040, "Menu" },
{ NULL, (0x0c << 16) + 0x041, "Menu Pick" },
{ NULL, (0x0c << 16) + 0x042, "Menu Up" },
{ NULL, (0x0c << 16) + 0x043, "Menu Down" },
{ NULL, (0x0c << 16) + 0x044, "Menu Left" },
{ NULL, (0x0c << 16) + 0x045, "Menu Right" },
{ NULL, (0x0c << 16) + 0x046, "Menu Escape" },
{ NULL, (0x0c << 16) + 0x047, "Menu Value Increase" },
{ NULL, (0x0c << 16) + 0x048, "Menu Value Decrease" },
{ NULL, (0x0c << 16) + 0x060, "Data on Screen" },
{ NULL, (0x0c << 16) + 0x061, "Closed Caption" },
{ NULL, (0x0c << 16) + 0x062, "Closed Caption Select" },
{ NULL, (0x0c << 16) + 0x063, "VCR/TV" },
{ NULL, (0x0c << 16) + 0x064, "Broadcast Mode" },
{ NULL, (0x0c << 16) + 0x065, "Snapshot" },
{ NULL, (0x0c << 16) + 0x066, "Still" },
{ NULL, (0x0c << 16) + 0x080, "Selection" },
{ NULL, (0x0c << 16) + 0x081, "Assign Selection" },
{ NULL, (0x0c << 16) + 0x082, "Mode Step" },
{ NULL, (0x0c << 16) + 0x083, "Recall Last" },
{ NULL, (0x0c << 16) + 0x084, "Enter Channel" },
{ NULL, (0x0c << 16) + 0x085, "Order Movie" },
{ NULL, (0x0c << 16) + 0x086, "Channel" },
{ NULL, (0x0c << 16) + 0x087, "Media Selection" },
{ NULL, (0x0c << 16) + 0x088, "Media Select Computer" },
{ NULL, (0x0c << 16) + 0x089, "Media Select TV" },
{ NULL, (0x0c << 16) + 0x08a, "Media Select WWW" },
{ NULL, (0x0c << 16) + 0x08b, "Media Select DVD" },
{ NULL, (0x0c << 16) + 0x08c, "Media Select Telephone" },
{ NULL, (0x0c << 16) + 0x08d, "Media Select Program Guide" },
{ NULL, (0x0c << 16) + 0x08e, "Media Select Video Phone" },
{ NULL, (0x0c << 16) + 0x08f, "Media Select Games" },
{ NULL, (0x0c << 16) + 0x090, "Media Select Messages" },
{ NULL, (0x0c << 16) + 0x091, "Media Select CD" },
{ NULL, (0x0c << 16) + 0x092, "Media Select VCR" },
{ NULL, (0x0c << 16) + 0x093, "Media Select Tuner" },
{ NULL, (0x0c << 16) + 0x094, "Quit" },
{ NULL, (0x0c << 16) + 0x095, "Help" },
{ NULL, (0x0c << 16) + 0x096, "Media Select Tape" },
{ NULL, (0x0c << 16) + 0x097, "Media Select Cable" },
{ NULL, (0x0c << 16) + 0x098, "Media Select Satellite" },
{ NULL, (0x0c << 16) + 0x099, "Media Select Security" },
{ NULL, (0x0c << 16) + 0x09a, "Media Select Home" },
{ NULL, (0x0c << 16) + 0x09b, "Media Select Call" },
{ NULL, (0x0c << 16) + 0x09c, "Channel Increment" },
{ NULL, (0x0c << 16) + 0x09d, "Channel Decrement" },
{ NULL, (0x0c << 16) + 0x09e, "Media Select SAP" },
{ NULL, (0x0c << 16) + 0x0a0, "VCR Plus" },
{ NULL, (0x0c << 16) + 0x0a1, "Once" },
{ NULL, (0x0c << 16) + 0x0a2, "Daily" },
{ NULL, (0x0c << 16) + 0x0a3, "Weekly" },
{ NULL, (0x0c << 16) + 0x0a4, "Monthly" },
{ NULL, (0x0c << 16) + 0x0b0, "Play" },
{ NULL, (0x0c << 16) + 0x0b1, "Pause" },
{ NULL, (0x0c << 16) + 0x0b2, "Record" },
{ NULL, (0x0c << 16) + 0x0b3, "Fast Forward" },
{ NULL, (0x0c << 16) + 0x0b4, "Rewind" },
{ NULL, (0x0c << 16) + 0x0b5, "Scan Next Track" },
{ NULL, (0x0c << 16) + 0x0b6, "Scan Previous Track" },
{ NULL, (0x0c << 16) + 0x0b7, "Stop" },
{ NULL, (0x0c << 16) + 0x0b8, "Eject" },
{ NULL, (0x0c << 16) + 0x0b9, "Random Play" },
{ NULL, (0x0c << 16) + 0x0ba, "Select Disc" },
{ NULL, (0x0c << 16) + 0x0bb, "Enter Disc" },
{ NULL, (0x0c << 16) + 0x0bc, "Repeat" },
{ NULL, (0x0c << 16) + 0x0bd, "Tracking" },
{ NULL, (0x0c << 16) + 0x0be, "Track Normal" },
{ NULL, (0x0c << 16) + 0x0bf, "Slow Tracking" },
{ NULL, (0x0c << 16) + 0x0c0, "Frame Forward" },
{ NULL, (0x0c << 16) + 0x0c1, "Frame Back" },
{ NULL, (0x0c << 16) + 0x0c2, "Mark" },
{ NULL, (0x0c << 16) + 0x0c3, "Clear Mark" },
{ NULL, (0x0c << 16) + 0x0c4, "Repeat from Mark" },
{ NULL, (0x0c << 16) + 0x0c5, "Return to Mark" },
{ NULL, (0x0c << 16) + 0x0c6, "Search Mark Forward" },
{ NULL, (0x0c << 16) + 0x0c7, "Search Mark Backward" },
{ NULL, (0x0c << 16) + 0x0c8, "Counter Reset" },
{ NULL, (0x0c << 16) + 0x0c9, "Show Counter" },
{ NULL, (0x0c << 16) + 0x0ca, "Tracking Increment" },
{ NULL, (0x0c << 16) + 0x0cb, "Tracking Decrement" },
{ NULL, (0x0c << 16) + 0x0cc, "Stop/Eject" },
{ NULL, (0x0c << 16) + 0x0cd, "Play/Pause" },
{ NULL, (0x0c << 16) + 0x0ce, "Play/Skip" },
{ NULL, (0x0c << 16) + 0x0e0, "Volume" },
{ NULL, (0x0c << 16) + 0x0e1, "Balance" },
{ NULL, (0x0c << 16) + 0x0e2, "Mute" },
{ NULL, (0x0c << 16) + 0x0e3, "Bass" },
{ NULL, (0x0c << 16) + 0x0e4, "Treble" },
{ NULL, (0x0c << 16) + 0x0e5, "Bass Boost" },
{ NULL, (0x0c << 16) + 0x0e6, "Surround Mode" },
{ NULL, (0x0c << 16) + 0x0e7, "Loudness" },
{ NULL, (0x0c << 16) + 0x0e8, "MPX" },
{ NULL, (0x0c << 16) + 0x0e9, "Volume Increment" },
{ NULL, (0x0c << 16) + 0x0ea, "Volume Decrement" },
{ NULL, (0x0c << 16) + 0x0f0, "Speed Select" },
{ NULL, (0x0c << 16) + 0x0f1, "Playback Speed" },
{ NULL, (0x0c << 16) + 0x0f2, "Standard Play" },
{ NULL, (0x0c << 16) + 0x0f3, "Long Play" },
{ NULL, (0x0c << 16) + 0x0f4, "Extended Play" },
{ NULL, (0x0c << 16) + 0x0f5, "Slow" },
{ NULL, (0x0c << 16) + 0x100, "Fan Enable" },
{ NULL, (0x0c << 16) + 0x101, "Fan Speed" },
{ NULL, (0x0c << 16) + 0x102, "Light Enable" },
{ NULL, (0x0c << 16) + 0x103, "Light Illumination Level" },
{ NULL, (0x0c << 16) + 0x104, "Climate Control Enable" },
{ NULL, (0x0c << 16) + 0x105, "Room Temperature" },
{ NULL, (0x0c << 16) + 0x106, "Security Enable" },
{ NULL, (0x0c << 16) + 0x107, "Fire Alarm" },
{ NULL, (0x0c << 16) + 0x108, "Police Alarm" },
{ NULL, (0x0c << 16) + 0x150, "Balance Right" },
{ NULL, (0x0c << 16) + 0x151, "Balance Left" },
{ NULL, (0x0c << 16) + 0x152, "Bass Increment" },
{ NULL, (0x0c << 16) + 0x153, "Bass Decrement" },
{ NULL, (0x0c << 16) + 0x154, "Treble Increment" },
{ NULL, (0x0c << 16) + 0x155, "Treble Decrement" },
{ NULL, (0x0c << 16) + 0x160, "Speaker System" },
{ NULL, (0x0c << 16) + 0x161, "Channel Left" },
{ NULL, (0x0c << 16) + 0x162, "Channel Right" },
{ NULL, (0x0c << 16) + 0x163, "Channel Center" },
{ NULL, (0x0c << 16) + 0x164, "Channel Front" },
{ NULL, (0x0c << 16) + 0x165, "Channel Center Front" },
{ NULL, (0x0c << 16) + 0x166, "Channel Side" },
{ NULL, (0x0c << 16) + 0x167, "Channel Surround" },
{ NULL, (0x0c << 16) + 0x168, "Channel Low Frequency Enhancement" },
{ NULL, (0x0c << 16) + 0x169, "Channel Top" },
{ NULL, (0x0c << 16) + 0x16a, "Channel Unknown" },
{ NULL, (0x0c << 16) + 0x170, "Sub-Channel" },
{ NULL, (0x0c << 16) + 0x171, "Sub-Channel Increment" },
{ NULL, (0x0c << 16) + 0x172, "Sub-Channel Decrement" },
{ NULL, (0x0c << 16) + 0x173, "Alternative Audio Increment" },
{ NULL, (0x0c << 16) + 0x174, "Alternative Audio Decrement" },
{ NULL, (0x0c << 16) + 0x180, "Application Launch Buttons" },
{ NULL, (0x0c << 16) + 0x181, "AL Launch Button Configuration Tool" },
{ NULL, (0x0c << 16) + 0x182, "AL Launch Button Configuration" },
{ NULL, (0x0c << 16) + 0x183, "AL Consumer Control Configuration" },
{ NULL, (0x0c << 16) + 0x184, "AL Word Processor" },
{ NULL, (0x0c << 16) + 0x185, "AL Text Editor" },
{ NULL, (0x0c << 16) + 0x186, "AL Spreadsheet" },
{ NULL, (0x0c << 16) + 0x187, "AL Graphics Editor" },
{ NULL, (0x0c << 16) + 0x188, "AL Presentation App" },
{ NULL, (0x0c << 16) + 0x189, "AL Database App" },
{ NULL, (0x0c << 16) + 0x18a, "AL Email Reader" },
{ NULL, (0x0c << 16) + 0x18b, "AL Newsreader" },
{ NULL, (0x0c << 16) + 0x18c, "AL Voicemail" },
{ NULL, (0x0c << 16) + 0x18d, "AL Contacts/Address Book" },
{ NULL, (0x0c << 16) + 0x18e, "AL Calendar/Schedule" },
{ NULL, (0x0c << 16) + 0x18f, "AL Task/Project Manager" },
{ NULL, (0x0c << 16) + 0x190, "AL Log/Jounal/Timecard" },
{ NULL, (0x0c << 16) + 0x191, "AL Checkbook/Finance" },
{ NULL, (0x0c << 16) + 0x192, "AL Calculator" },
{ NULL, (0x0c << 16) + 0x193, "AL A/V Capture/Playback" },
{ NULL, (0x0c << 16) + 0x194, "AL Local Machine Browser" },
{ NULL, (0x0c << 16) + 0x195, "AL LAN/Wan Browser" },
{ NULL, (0x0c << 16) + 0x196, "AL Internet Browser" },
{ NULL, (0x0c << 16) + 0x197, "AL Remote Networking/ISP Connect" },
{ NULL, (0x0c << 16) + 0x198, "AL Network Conference" },
{ NULL, (0x0c << 16) + 0x199, "AL Network Chat" },
{ NULL, (0x0c << 16) + 0x19a, "AL Telephony/Dialer" },
{ NULL, (0x0c << 16) + 0x19b, "AL Logon" },
{ NULL, (0x0c << 16) + 0x19c, "AL Logoff" },
{ NULL, (0x0c << 16) + 0x19d, "AL Logon/Logoff" },
{ NULL, (0x0c << 16) + 0x19e, "AL Terminal Local/Screensaver" },
{ NULL, (0x0c << 16) + 0x19f, "AL Control Panel" },
{ NULL, (0x0c << 16) + 0x1a0, "AL Command Line Processor/Run" },
{ NULL, (0x0c << 16) + 0x1a1, "AL Process/Task Manager" },
{ NULL, (0x0c << 16) + 0x1a2, "AL Select Task/Application" },
{ NULL, (0x0c << 16) + 0x1a3, "AL Next Task/Application" },
{ NULL, (0x0c << 16) + 0x1a4, "AL Previous Task/Application" },
{ NULL, (0x0c << 16) + 0x1a5, "AL Preemptive Halt Task/Application" },
{ NULL, (0x0c << 16) + 0x200, "Generic GUI Application Controls" },
{ NULL, (0x0c << 16) + 0x201, "AC New" },
{ NULL, (0x0c << 16) + 0x202, "AC Open" },
{ NULL, (0x0c << 16) + 0x203, "AC CLose" },
{ NULL, (0x0c << 16) + 0x204, "AC Exit" },
{ NULL, (0x0c << 16) + 0x205, "AC Maximize" },
{ NULL, (0x0c << 16) + 0x206, "AC Minimize" },
{ NULL, (0x0c << 16) + 0x207, "AC Save" },
{ NULL, (0x0c << 16) + 0x208, "AC Print" },
{ NULL, (0x0c << 16) + 0x209, "AC Properties" },
{ NULL, (0x0c << 16) + 0x21a, "AC Undo" },
{ NULL, (0x0c << 16) + 0x21b, "AC Copy" },
{ NULL, (0x0c << 16) + 0x21c, "AC Cut" },
{ NULL, (0x0c << 16) + 0x21d, "AC Paste" },
{ NULL, (0x0c << 16) + 0x21e, "AC Select All" },
{ NULL, (0x0c << 16) + 0x21f, "AC Find" },
{ NULL, (0x0c << 16) + 0x220, "AC Find and Replace" },
{ NULL, (0x0c << 16) + 0x221, "AC Search" },
{ NULL, (0x0c << 16) + 0x222, "AC Go To" },
{ NULL, (0x0c << 16) + 0x223, "AC Home" },
{ NULL, (0x0c << 16) + 0x224, "AC Back" },
{ NULL, (0x0c << 16) + 0x225, "AC Forward" },
{ NULL, (0x0c << 16) + 0x226, "AC Stop" },
{ NULL, (0x0c << 16) + 0x227, "AC Refresh" },
{ NULL, (0x0c << 16) + 0x228, "AC Previous Link" },
{ NULL, (0x0c << 16) + 0x229, "AC Next Link" },
{ NULL, (0x0c << 16) + 0x22b, "AC History" },
{ NULL, (0x0c << 16) + 0x22c, "AC Subscriptions" },
{ NULL, (0x0c << 16) + 0x22d, "AC Zoom In" },
{ NULL, (0x0c << 16) + 0x22e, "AC Zoom Out" },
{ NULL, (0x0c << 16) + 0x22f, "AC Zoom" },
{ NULL, (0x0c << 16) + 0x230, "AC Full Screen View" },
{ NULL, (0x0c << 16) + 0x231, "AC Normal View" },
{ NULL, (0x0c << 16) + 0x232, "AC View Toggle" },
{ NULL, (0x0c << 16) + 0x233, "AC Scroll Up" },
{ NULL, (0x0c << 16) + 0x234, "AC Scroll Down" },
{ NULL, (0x0c << 16) + 0x235, "AC Scroll" },
{ NULL, (0x0c << 16) + 0x236, "AC Pan Left" },
{ NULL, (0x0c << 16) + 0x237, "AC Pan Right" },
{ NULL, (0x0c << 16) + 0x238, "AC Pan" },
{ NULL, (0x0c << 16) + 0x239, "AC New Window" },
{ NULL, (0x0c << 16) + 0x23a, "AC Tile Horizontally" },
{ NULL, (0x0c << 16) + 0x23b, "AC Tile Vertically" },
{ NULL, (0x0c << 16) + 0x23c, "AC Format" },
{ NULL, (0x0d << 16) + 0x000, "Undefined" },
{ NULL, (0x0d << 16) + 0x001, "Digitizer" },
{ NULL, (0x0d << 16) + 0x002, "Pen" },
{ NULL, (0x0d << 16) + 0x003, "Light Pen" },
{ NULL, (0x0d << 16) + 0x004, "Touch Screen" },
{ NULL, (0x0d << 16) + 0x005, "Touch Pad" },
{ NULL, (0x0d << 16) + 0x006, "White Board" },
{ NULL, (0x0d << 16) + 0x007, "Coordinate Measuring Machine" },
{ NULL, (0x0d << 16) + 0x008, "3D Digitizer" },
{ NULL, (0x0d << 16) + 0x009, "Stereo Plotter" },
{ NULL, (0x0d << 16) + 0x00a, "Articulated Arm" },
{ NULL, (0x0d << 16) + 0x00b, "Armature" },
{ NULL, (0x0d << 16) + 0x00c, "Multiple Point Digitizer" },
{ NULL, (0x0d << 16) + 0x00d, "Free Space Wand" },
{ NULL, (0x0d << 16) + 0x020, "Stylus" },
{ NULL, (0x0d << 16) + 0x021, "Puck" },
{ NULL, (0x0d << 16) + 0x022, "Finger" },
{ NULL, (0x0d << 16) + 0x030, "Tip Pressure" },
{ NULL, (0x0d << 16) + 0x031, "Barrel Pressure" },
{ NULL, (0x0d << 16) + 0x032, "In Range" },
{ NULL, (0x0d << 16) + 0x033, "Touch" },
{ NULL, (0x0d << 16) + 0x034, "Untouch" },
{ NULL, (0x0d << 16) + 0x035, "Tap" },
{ NULL, (0x0d << 16) + 0x036, "Quality" },
{ NULL, (0x0d << 16) + 0x037, "Data Valid" },
{ NULL, (0x0d << 16) + 0x038, "Transducer Index" },
{ NULL, (0x0d << 16) + 0x039, "Tablet Function Keys" },