]> git.donarmstrong.com Git - tmk_firmware.git/blob - protocol/iwrap/mouse.desc
Add support of mouse horizontal wheel to iWRAP
[tmk_firmware.git] / protocol / iwrap / mouse.desc
1 05010902a1010901a1008502050919012908150025017501950881020501093009311581257f750895028106093895018106050c0a380295018106c0c0
2
3 Length: 67(0x43)
4 virtical/horizontal wheel support
5
6     0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)
7     0x09, 0x02,                    // USAGE (Mouse)
8     0xa1, 0x01,                    // COLLECTION (Application)
9     0x09, 0x01,                    //   USAGE (Pointer)
10     0xa1, 0x00,                    //   COLLECTION (Physical)
11     0x85, 0x02,                    //   REPORT_ID (2)
12                                    // ----------------------------  Buttons
13     0x05, 0x09,                    //     USAGE_PAGE (Button)
14     0x19, 0x01,                    //     USAGE_MINIMUM (Button 1)
15     0x29, 0x08,                    //     USAGE_MAXIMUM (Button 8)
16     0x15, 0x00,                    //     LOGICAL_MINIMUM (0)
17     0x25, 0x01,                    //     LOGICAL_MAXIMUM (1)
18     0x75, 0x01,                    //     REPORT_SIZE (1)
19     0x95, 0x08,                    //     REPORT_COUNT (8)
20     0x81, 0x02,                    //     INPUT (Data,Var,Abs)
21                                    // ----------------------------  X,Y position
22     0x05, 0x01,                    //     USAGE_PAGE (Generic Desktop)
23     0x09, 0x30,                    //     USAGE (X)
24     0x09, 0x31,                    //     USAGE (Y)
25     0x15, 0x81,                    //     LOGICAL_MINIMUM (-127)
26     0x25, 0x7f,                    //     LOGICAL_MAXIMUM (127)
27     0x75, 0x08,                    //     REPORT_SIZE (8)
28     0x95, 0x02,                    //     REPORT_COUNT (2)
29     0x81, 0x06,                    //     INPUT (Data,Var,Rel)
30                                    // ----------------------------  Vertical wheel
31     0x09, 0x38,                    //     USAGE (Wheel)
32     0x95, 0x01,                    //     REPORT_COUNT (1)
33     0x81, 0x06,                    //     INPUT (Data,Var,Rel)
34                                    // ----------------------------  Horizontal wheel
35     0x05, 0x0c,                    //     USAGE_PAGE (Consumer Devices)
36     0x0a, 0x38, 0x02,              //     USAGE (AC Pan)
37     0x95, 0x01,                    //     REPORT_COUNT (1)
38     0x81, 0x06,                    //     INPUT (Data,Var,Rel)
39     0xc0,                          //   END_COLLECTION
40     0xc0,                          // END_COLLECTION