diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-12-19 19:29:41 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-12-19 19:29:41 +0100 |
| commit | 878eb23b8394109aeb32cd505f79b96c74ec97f6 (patch) | |
| tree | ed5aa20a4018fcecd0d7f922d66c92633822117c /src/usb_descriptors.c | |
| parent | d7c506450be613d6575649218fbcc90a4fabd150 (diff) | |
| download | sxkbd-878eb23b8394109aeb32cd505f79b96c74ec97f6.tar.gz sxkbd-878eb23b8394109aeb32cd505f79b96c74ec97f6.zip | |
Add special hid functionality, consumer control working
Diffstat (limited to 'src/usb_descriptors.c')
| -rw-r--r-- | src/usb_descriptors.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usb_descriptors.c b/src/usb_descriptors.c index 97a525b..9b70e2a 100644 --- a/src/usb_descriptors.c +++ b/src/usb_descriptors.c @@ -56,7 +56,9 @@ tusb_desc_device_t const desc_device = { uint8_t const desc_hid_report[] = { TUD_HID_REPORT_DESC_KEYBOARD(HID_REPORT_ID(REPORT_ID_KEYBOARD)), TUD_HID_REPORT_DESC_MOUSE(HID_REPORT_ID(REPORT_ID_MOUSE)), - TUD_HID_REPORT_DESC_CONSUMER(HID_REPORT_ID(REPORT_ID_CONSUMER_CONTROL)) + TUD_HID_REPORT_DESC_CONSUMER(HID_REPORT_ID(REPORT_ID_CONSUMER)), + TUD_HID_REPORT_DESC_SYSTEM_CONTROL(HID_REPORT_ID(REPORT_ID_SYSTEM)), + TUD_HID_REPORT_DESC_GAMEPAD(HID_REPORT_ID(REPORT_ID_GAMEPAD)) }; uint8_t const desc_fs_configuration[] = { |
