summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorJay <[email protected]>2024-12-23 22:09:59 +0900
committerJay <[email protected]>2024-12-23 22:09:59 +0900
commit7e59b595f43c906e4bf207861762bf93e772d4f8 (patch)
treed1c925e696d32f540ccfb467484780ef4e443e8f /src/class
parent15b1623aa3b677100cb7e81bf05f0c3b481d355b (diff)
Update hid_device.h
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h
index 513d6e996..79b8a695e 100644
--- a/src/class/hid/hid_device.h
+++ b/src/class/hid/hid_device.h
@@ -284,8 +284,8 @@ void tud_hid_report_failed_cb(uint8_t instance, hid_report_type_t report_type, u
HID_REPORT_COUNT( 6 ), \
HID_INPUT ( HID_CONSTANT | HID_ARRAY | HID_ABSOLUTE), \
HID_USAGE_PAGE ( HID_USAGE_PAGE_DESKTOP ), \
- HID_PHYSICAL_MAX( 0x7fff ), \
- HID_LOGICAL_MAX ( 0x7fff ), \
+ HID_PHYSICAL_MAX_N( 0x7fff, 2 ), \
+ HID_LOGICAL_MAX_N ( 0x7fff, 2 ), \
HID_REPORT_SIZE ( 16 ), \
HID_REPORT_COUNT( 1 ), \
HID_UNIT_EXPONENT( -1 ), \