Skip to content

Commit 7e59b59

Browse files
committed
Update hid_device.h
1 parent 15b1623 commit 7e59b59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/class/hid/hid_device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ void tud_hid_report_failed_cb(uint8_t instance, hid_report_type_t report_type, u
284284
HID_REPORT_COUNT( 6 ), \
285285
HID_INPUT ( HID_CONSTANT | HID_ARRAY | HID_ABSOLUTE), \
286286
HID_USAGE_PAGE ( HID_USAGE_PAGE_DESKTOP ), \
287-
HID_PHYSICAL_MAX( 0x7fff ), \
288-
HID_LOGICAL_MAX ( 0x7fff ), \
287+
HID_PHYSICAL_MAX_N( 0x7fff, 2 ), \
288+
HID_LOGICAL_MAX_N ( 0x7fff, 2 ), \
289289
HID_REPORT_SIZE ( 16 ), \
290290
HID_REPORT_COUNT( 1 ), \
291291
HID_UNIT_EXPONENT( -1 ), \

0 commit comments

Comments
 (0)