1 | 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
|
---|
2 | 0x09, 0x02, // Usage (Mouse)
|
---|
3 | 0xA1, 0x01, // Collection (Application)
|
---|
4 | 0x05, 0x09, // Usage Page (Button)
|
---|
5 | 0x19, 0x01, // Usage Minimum (0x01)
|
---|
6 | 0x29, 0x05, // Usage Maximum (0x05)
|
---|
7 | 0x15, 0x00, // Logical Minimum (0)
|
---|
8 | 0x25, 0x01, // Logical Maximum (1)
|
---|
9 | 0x75, 0x01, // Report Size (1)
|
---|
10 | 0x95, 0x05, // Report Count (5)
|
---|
11 | 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
|
---|
12 | 0x75, 0x03, // Report Size (3)
|
---|
13 | 0x95, 0x01, // Report Count (1)
|
---|
14 | 0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
|
---|
15 | 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
|
---|
16 | 0x09, 0x01, // Usage (Pointer)
|
---|
17 | 0xA1, 0x00, // Collection (Physical)
|
---|
18 | 0x09, 0x30, // Usage (X)
|
---|
19 | 0x09, 0x31, // Usage (Y)
|
---|
20 | 0x16, 0x01, 0x80, // Logical Minimum (-32767)
|
---|
21 | 0x26, 0xFF, 0x7F, // Logical Maximum (32767)
|
---|
22 | 0x75, 0x10, // Report Size (16)
|
---|
23 | 0x95, 0x02, // Report Count (2)
|
---|
24 | 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
|
---|
25 | 0x09, 0x38, // Usage (Wheel)
|
---|
26 | 0x15, 0x81, // Logical Minimum (-127)
|
---|
27 | 0x25, 0x7F, // Logical Maximum (127)
|
---|
28 | 0x75, 0x08, // Report Size (8)
|
---|
29 | 0x95, 0x01, // Report Count (1)
|
---|
30 | 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
|
---|
31 | 0xC0, // End Collection
|
---|
32 | 0x05, 0x0C, // Usage Page (Consumer)
|
---|
33 | 0x0A, 0x38, 0x02, // Usage (AC Pan)
|
---|
34 | 0x15, 0x81, // Logical Minimum (-127)
|
---|
35 | 0x25, 0x7F, // Logical Maximum (127)
|
---|
36 | 0x95, 0x01, // Report Count (1)
|
---|
37 | 0x75, 0x08, // Report Size (8)
|
---|
38 | 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
|
---|
39 | 0xC0, // End Collection
|
---|
40 |
|
---|
41 | // 79 bytes
|
---|