summaryrefslogtreecommitdiffstats
path: root/usb
diff options
context:
space:
mode:
Diffstat (limited to 'usb')
-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