fix(hid): Use a full valid range for consumer page
* Switch to a logical max for the consumer page that avoid signed issue, and still allows full range of documented consumer page values.
This commit is contained in:
parent
8c99313a67
commit
1dccb7fe50
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ static const uint8_t zmk_hid_report_desc[] = {
|
|||
HID_REPORT_SIZE(0x08),
|
||||
#elif IS_ENABLED(CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_FULL)
|
||||
HID_LOGICAL_MIN8(0x00),
|
||||
HID_LOGICAL_MAX16(0xFF, 0xFF),
|
||||
HID_LOGICAL_MAX16(0xFF, 0x0F),
|
||||
HID_USAGE_MIN8(0x00),
|
||||
HID_USAGE_MAX16(0xFF, 0xFF),
|
||||
HID_USAGE_MAX16(0xFF, 0x0F),
|
||||
HID_REPORT_SIZE(0x10),
|
||||
#else
|
||||
#error "A proper consumer HID report usage range must be selected"
|
||||
|
|
Loading…
Reference in a new issue