|
1 |
|
2 0x95, 0x01, //Report count 1 |
|
3 0x05, 0x0c, //Usage page telephony |
|
4 0x09, 0x01, // Usage Phone |
|
5 0xa1, 0x01, // COLLECTION (Application) |
|
6 0x85, 0x01, // Report id 1 |
|
7 0x09, 0x01, // USAGE (Programmable Button) |
|
8 0xa1, 0x02, // COLLECTION (Logical) |
|
9 0x05, 0x0c, // USAGE_PAGE (Button) |
|
10 0x19, 0x00, // USAGE_MINIMUM (Button 1) |
|
11 0x29, 0x2f, // USAGE_MAXIMUM (Button 6) |
|
12 0x75, 0x08, // REPORT_SIZE (3) |
|
13 0x15, 0x00, // LOGICAL_MINIMUM (1) |
|
14 0x25, 0x06, // LOGICAL_MAXIMUM (6) |
|
15 0x81, 0x00, // INPUT (Data,Ary,Abs) |
|
16 0xc0, // END_COLLECTION |
|
17 0xa1, 0x02, // COLLECTION (Logical) |
|
18 0x05, 0x0b, // USAGE_PAGE (Button) |
|
19 0x19, 0x20, // USAGE_MINIMUM (Button 1) |
|
20 0x29, 0x2f, // USAGE_MAXIMUM (Button 6) |
|
21 0x75, 0x08, // REPORT_SIZE (3) |
|
22 0x15, 0x00, // LOGICAL_MINIMUM (1) |
|
23 0x25, 0x2f, // LOGICAL_MAXIMUM (6) |
|
24 0x81, 0x00, // INPUT (Data,Ary,Abs) |
|
25 0xc0, // END_COLLECTION |
|
26 0xc0, //End collection |
|
27 0x05, 0x01, // USAGE_PAGE (Generic Desktop) |
|
28 0x09, 0x02, // USAGE (Mouse) |
|
29 0xa1, 0x01, // COLLECTION (Application) |
|
30 0x85, 0x02, // Report id 2 |
|
31 0x09, 0x01, // USAGE (Pointer) |
|
32 0xa1, 0x00, // COLLECTION (Physical) |
|
33 0x05, 0x09, // USAGE_PAGE (Button) |
|
34 0x19, 0x01, // USAGE_MINIMUM (Button 1) |
|
35 0x29, 0x03, // USAGE_MAXIMUM (Button 3) |
|
36 0x15, 0x00, // LOGICAL_MINIMUM (0) |
|
37 0x25, 0x01, // LOGICAL_MAXIMUM (1) |
|
38 0x95, 0x03, // REPORT_COUNT (3) |
|
39 0x75, 0x01, // REPORT_SIZE (1) |
|
40 0x81, 0x02, // INPUT (Data,Var,Abs) |
|
41 0x95, 0x01, // REPORT_COUNT (1) |
|
42 0x75, 0x05, // REPORT_SIZE (5) |
|
43 0x81, 0x03, // INPUT (Cnst,Var,Abs) |
|
44 0x05, 0x01, // USAGE_PAGE (Generic Desktop) |
|
45 0x09, 0x30, // USAGE (X) |
|
46 0x09, 0x31, // USAGE (Y) |
|
47 0x15, 0x81, // LOGICAL_MINIMUM (-127) |
|
48 0x25, 0x7f, // LOGICAL_MAXIMUM (127) |
|
49 0x75, 0x08, // REPORT_SIZE (8) |
|
50 0x95, 0x02, // REPORT_COUNT (2) |
|
51 0x81, 0x06, // INPUT (Data,Var,Rel) |
|
52 0xc0, // END_COLLECTION |
|
53 0xc0 // END_COLLECTION |