diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 21:23:37 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 21:56:59 +0100 |
commit | 32686ad35189850416782e401836e4d5973b7f9d (patch) | |
tree | bb23fa533375d06dc749b41b64311a62b0c1f488 /usb | |
parent | 7ffe3e4bc0c43707265697fc3ab6faaf6d33c391 (diff) | |
download | fmk-32686ad35189850416782e401836e4d5973b7f9d.tar.gz fmk-32686ad35189850416782e401836e4d5973b7f9d.tar.xz fmk-32686ad35189850416782e401836e4d5973b7f9d.zip |
usb/hid.h: fix local item screwup
Diffstat (limited to 'usb')
-rw-r--r-- | usb/hid.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -47,15 +47,15 @@ #define HR_POP(size) HR_GLOBAL_ITEM(11, size) #define HR_USAGE(size) HR_LOCAL_ITEM(0, size) -#define HR_USAGE_MINIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_USAGE_MAXIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_DESIGNATOR_INDEX(size) HR_LOCAL_ITEM(0, size) -#define HR_DESIGNATOR_MINIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_DESIGNATOR_MAXIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_STRING_INDEX(size) HR_LOCAL_ITEM(0, size) -#define HR_STRING_MINIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_STRING_MAXIMUM(size) HR_LOCAL_ITEM(0, size) -#define HR_DELIMITER(size) HR_LOCAL_ITEM(0, size) +#define HR_USAGE_MINIMUM(size) HR_LOCAL_ITEM(1, size) +#define HR_USAGE_MAXIMUM(size) HR_LOCAL_ITEM(2, size) +#define HR_DESIGNATOR_INDEX(size) HR_LOCAL_ITEM(3, size) +#define HR_DESIGNATOR_MINIMUM(size) HR_LOCAL_ITEM(4, size) +#define HR_DESIGNATOR_MAXIMUM(size) HR_LOCAL_ITEM(5, size) +#define HR_STRING_INDEX(size) HR_LOCAL_ITEM(7, size) +#define HR_STRING_MINIMUM(size) HR_LOCAL_ITEM(8, size) +#define HR_STRING_MAXIMUM(size) HR_LOCAL_ITEM(9, size) +#define HR_DELIMITER(size) HR_LOCAL_ITEM(10, size) #define HR_PHYSICAL 0x00 #define HR_APPLICATION 0x01 |