Use the LUFA generic HID descriptor.

This commit is contained in:
László Monda
2016-03-01 20:29:29 +01:00
parent ab2cb911d4
commit c94a08f8ca
3 changed files with 35 additions and 18 deletions

View File

@@ -3,7 +3,12 @@
// Macros:
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_LENGTH (33U)
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_LENGTH (32U)
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_VENDOR_USAGE_PAGE_INDEX 0x80U
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_VENDOR_USAGE_COLLECTION 0x81U
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_VENDOR_USAGE_DATA_IN 0x82U
#define USB_GENERIC_HID_REPORT_DESCRIPTOR_VENDOR_USAGE_DATA_OUT 0x83U
// Variables: