summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-05-25 21:23:37 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-05-25 21:56:59 +0100
commit32686ad35189850416782e401836e4d5973b7f9d (patch)
treebb23fa533375d06dc749b41b64311a62b0c1f488
parent7ffe3e4bc0c43707265697fc3ab6faaf6d33c391 (diff)
downloadfmk-32686ad35189850416782e401836e4d5973b7f9d.tar.gz
fmk-32686ad35189850416782e401836e4d5973b7f9d.tar.xz
fmk-32686ad35189850416782e401836e4d5973b7f9d.zip
usb/hid.h: fix local item screwup
-rw-r--r--usb/hid.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/usb/hid.h b/usb/hid.h
index 102cece..cca450d 100644
--- a/usb/hid.h
+++ b/usb/hid.h
@@ -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