Add resolution information to digitizer (#25958)

Co-authored-by: Marcus Ofenhed <>
This commit is contained in:
Marcus Ofenhed
2026-03-15 10:59:23 +00:00
committed by GitHub
parent 53c0e30e96
commit f01698b3f8
+5
View File
@@ -332,6 +332,11 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM SharedReport[] = {
HID_RI_USAGE(8, 0x44), // Barrel Switch
HID_RI_LOGICAL_MINIMUM(8, 0x00),
HID_RI_LOGICAL_MAXIMUM(8, 0x01),
HID_RI_PHYSICAL_MINIMUM(8, 0),
// Semi-random value (actual claimed physical size is not important)
HID_RI_PHYSICAL_MAXIMUM(8, 0xCB),
HID_RI_UNIT(8, 0x13), // Inch, English Linear
HID_RI_UNIT_EXPONENT(8, 0x0E), // -2
HID_RI_REPORT_COUNT(8, 0x03),
HID_RI_REPORT_SIZE(8, 0x01),
HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_ABSOLUTE),