summaryrefslogtreecommitdiff
path: root/examples/device/hid_composite_freertos/src/usb_descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/hid_composite_freertos/src/usb_descriptors.c')
-rw-r--r--examples/device/hid_composite_freertos/src/usb_descriptors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/hid_composite_freertos/src/usb_descriptors.c b/examples/device/hid_composite_freertos/src/usb_descriptors.c
index 5052a436f..a169ee2c7 100644
--- a/examples/device/hid_composite_freertos/src/usb_descriptors.c
+++ b/examples/device/hid_composite_freertos/src/usb_descriptors.c
@@ -74,7 +74,8 @@ uint8_t const * tud_descriptor_device_cb(void)
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_MOUSE ( HID_REPORT_ID(REPORT_ID_MOUSE) ),
+ TUD_HID_REPORT_DESC_CONSUMER( HID_REPORT_ID(REPORT_ID_CONSUMER_CONTROL ))
};
// Invoked when received GET HID REPORT DESCRIPTOR