Skip to content

Commit

Permalink
add support for mouse horizontal scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
LSChyi committed Jul 9, 2024
1 parent d7280e4 commit 247e933
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/platforms/zephyr/hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ static const uint8_t hid_kbd_report_desc[] = {
HID_REPORT_COUNT(1),
HID_REPORT_SIZE(8),
HID_INPUT(0x06),
HID_USAGE_PAGE(0x0C), // Usage Page (Consumer)
0x0A, 0x38, 0x02, // Usage (AC Pan)
HID_LOGICAL_MIN8(-127),
HID_LOGICAL_MAX8(127),
HID_REPORT_COUNT(1),
HID_REPORT_SIZE(8),
HID_INPUT(0x06),
HID_END_COLLECTION,
HID_END_COLLECTION,
// system control
Expand Down

0 comments on commit 247e933

Please sign in to comment.