Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mouse.desc 2.3KB

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