Add a mouse report descriptor that have wheel usages.

This commit is contained in:
László Monda
2016-03-02 00:28:15 +01:00
parent 28e61ee96c
commit c7a762ae67
4 changed files with 105 additions and 6 deletions
+7 -1
View File
@@ -3,7 +3,13 @@
// Macros:
#define USB_MOUSE_REPORT_DESCRIPTOR_LENGTH (52U)
#define USB_MOUSE_REPORT_DESCRIPTOR_LENGTH (121U)
#define USB_MOUSE_REPORT_DESCRIPTOR_MIN_AXIS_VALUE -4096
#define USB_MOUSE_REPORT_DESCRIPTOR_MAX_AXIS_VALUE 4096
#define USB_MOUSE_REPORT_DESCRIPTOR_MIN_AXIS_PHYSICAL_VALUE -4096
#define USB_MOUSE_REPORT_DESCRIPTOR_MAX_AXIS_PHYSICAL_VALUE 4096
#define USB_MOUSE_REPORT_DESCRIPTOR_BUTTONS 8
// Variables: