Refactor the system keyboard report descriptor using LUFA macros.

This commit is contained in:
László Monda
2017-03-07 21:50:00 +01:00
parent 6b54cfcda3
commit 264c5b671b
3 changed files with 7 additions and 27 deletions

View File

@@ -43,7 +43,8 @@
#define HID_RI_USAGE_PAGE_BUTTONS 0x09
#define HID_RI_USAGE_PAGE_CONSUMER 0x0C
#define HID_RI_USAGE_ID_CONSUMER_PAGE_CONSUMER_CONTROL 0x01
#define HID_RI_USAGE_ID_CONSUMER_PAGE_CONSUMER_CONTROL 0x01
#define HID_RI_USAGE_ID_GENERIC_DESKTOP_PAGE_SYSTEM_CONTROL 0x80
#define HID_RI_USAGE_GENERIC_DESKTOP_POINTER 0x01
#define HID_RI_USAGE_GENERIC_DESKTOP_MOUSE 0x02