From a77ae5f84312e295daabfdc46c79a627b84fee4f Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 18 Apr 2013 15:51:14 +0900 Subject: Add support of iWRAP5 - mouse virtical wheel - consumer page --- protocol/iwrap/mouse.desc | 1 + 1 file changed, 1 insertion(+) create mode 100644 protocol/iwrap/mouse.desc (limited to 'protocol/iwrap/mouse.desc') diff --git a/protocol/iwrap/mouse.desc b/protocol/iwrap/mouse.desc new file mode 100644 index 0000000000..f2c4325009 --- /dev/null +++ b/protocol/iwrap/mouse.desc @@ -0,0 +1 @@ +05010902a1010901a1008502050919012903150025019503750181020501093815f1250f9501750581060501093009311581257f750895028106c0c0 -- cgit v1.2.3 From 663027751831eb0e80d64c90aaf82d2921533aed Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 19 Apr 2013 23:43:52 +0900 Subject: Add support of mouse horizontal wheel to iWRAP --- protocol/iwrap/mouse.desc | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'protocol/iwrap/mouse.desc') diff --git a/protocol/iwrap/mouse.desc b/protocol/iwrap/mouse.desc index f2c4325009..11898f2b1c 100644 --- a/protocol/iwrap/mouse.desc +++ b/protocol/iwrap/mouse.desc @@ -1 +1,40 @@ -05010902a1010901a1008502050919012903150025019503750181020501093815f1250f9501750581060501093009311581257f750895028106c0c0 +05010902a1010901a1008502050919012908150025017501950881020501093009311581257f750895028106093895018106050c0a380295018106c0c0 + +Length: 67(0x43) +virtical/horizontal wheel support + + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x02, // USAGE (Mouse) + 0xa1, 0x01, // COLLECTION (Application) + 0x09, 0x01, // USAGE (Pointer) + 0xa1, 0x00, // COLLECTION (Physical) + 0x85, 0x02, // REPORT_ID (2) + // ---------------------------- Buttons + 0x05, 0x09, // USAGE_PAGE (Button) + 0x19, 0x01, // USAGE_MINIMUM (Button 1) + 0x29, 0x08, // USAGE_MAXIMUM (Button 8) + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x01, // LOGICAL_MAXIMUM (1) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x08, // REPORT_COUNT (8) + 0x81, 0x02, // INPUT (Data,Var,Abs) + // ---------------------------- X,Y position + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x30, // USAGE (X) + 0x09, 0x31, // USAGE (Y) + 0x15, 0x81, // LOGICAL_MINIMUM (-127) + 0x25, 0x7f, // LOGICAL_MAXIMUM (127) + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x02, // REPORT_COUNT (2) + 0x81, 0x06, // INPUT (Data,Var,Rel) + // ---------------------------- Vertical wheel + 0x09, 0x38, // USAGE (Wheel) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x06, // INPUT (Data,Var,Rel) + // ---------------------------- Horizontal wheel + 0x05, 0x0c, // USAGE_PAGE (Consumer Devices) + 0x0a, 0x38, 0x02, // USAGE (AC Pan) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x06, // INPUT (Data,Var,Rel) + 0xc0, // END_COLLECTION + 0xc0, // END_COLLECTION -- cgit v1.2.3