Skip to content

Commit

Permalink
Add missing 12th button HID report
Browse files Browse the repository at this point in the history
  • Loading branch information
veroxzik committed Aug 7, 2020
1 parent 637866c commit 37c31d2
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions roxy/report_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,21 @@ auto report_desc = joystick(
report_count(1),
output(0x02)
),

padding_out(5),

logical_maximum(255),


usage_page(UsagePage::Ordinal),
usage(12),
collection(Collection::Logical,
usage_page(UsagePage::LED),
usage(0x4b),
report_size(8),
report_size(1),
report_count(1),
output(0x02)
),

padding_out(4),

logical_maximum(255),

usage_page(UsagePage::Ordinal),
usage(13),
collection(Collection::Logical,
Expand Down Expand Up @@ -193,7 +193,7 @@ auto report_desc = joystick(
report_count(1),
output(0x02)
),

usage_page(UsagePage::Ordinal),
usage(17),
collection(Collection::Logical,
Expand All @@ -213,6 +213,16 @@ auto report_desc = joystick(
report_count(1),
output(0x02)
),

usage_page(UsagePage::Ordinal),
usage(19),
collection(Collection::Logical,
usage_page(UsagePage::LED),
usage(0x4b),
report_size(8),
report_count(1),
output(0x02)
),

// Bootloader
report_id(0xb0),
Expand Down

0 comments on commit 37c31d2

Please sign in to comment.