aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/usb_descriptor.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-10-16 01:05:43 +1100
committerGitHub <noreply@github.com>2024-10-15 07:05:43 -0700
commit85a7627641cbbc71de1a89b0346ee7d92d4fb394 (patch)
tree7b00a7e051b3f47a4c75731793ffb42b9c1f4115 /tmk_core/protocol/usb_descriptor.c
parent11daef82e0c710d7bdacc7c78fe21fae864be191 (diff)
Digitizer: fix units tag in report descriptor (#24482)
Diffstat (limited to 'tmk_core/protocol/usb_descriptor.c')
-rw-r--r--tmk_core/protocol/usb_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c
index 7efd085ea3..703589b054 100644
--- a/tmk_core/protocol/usb_descriptor.c
+++ b/tmk_core/protocol/usb_descriptor.c
@@ -281,7 +281,7 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM SharedReport[] = {
HID_RI_LOGICAL_MAXIMUM(16, 0x7FFF),
HID_RI_REPORT_COUNT(8, 0x02),
HID_RI_REPORT_SIZE(8, 0x10),
- HID_RI_UNIT(8, 0x33), // Inch, English Linear
+ HID_RI_UNIT(8, 0x13), // Inch, English Linear
HID_RI_UNIT_EXPONENT(8, 0x0E), // -2
HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_ABSOLUTE),
HID_RI_END_COLLECTION(0),