Replies: 2 comments
-
A bit late, but if you use a Generic IO + ID you can only use 63 byte for your data since the first byte is the message ID - try using this: uint8_t const desc_hid_report[] =
{
TUD_HID_REPORT_DESC_KEYBOARD( HID_REPORT_ID(RID_KEYBOARD) ),
TUD_HID_REPORT_DESC_MOUSE ( HID_REPORT_ID(RID_MOUSE) ),
TUD_HID_REPORT_DESC_CONSUMER( HID_REPORT_ID(RID_CONSUMER_CONTROL) ),
TUD_HID_REPORT_DESC_GENERIC_INOUT(63,HID_REPORT_ID(RID_GENERIC))
}; |
Beta Was this translation helpful? Give feedback.
-
Hello! I am trying to get Raspberry Pi Pico to identify itself as USB Keyboard System Control and USB Keyboard Consumer Control. Using the example in the repository and the example in this thread, I only see this identifying as keyboard and mouse. Here is the output from dmesg: [ 7773.161701] input: Raspberry Pi Pico Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:239A:CAFE.0064/input/input132 How can I make this identify as USB Keyboard System Control and USB Keyboard Consumer Control? In dmesg it should look something like this: [ 7566.525673] input: Raspberry Pi Pico System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:04D9:1702.0063/input/input130 Thanks |
Beta Was this translation helpful? Give feedback.
-
I want to use the hid_composite and hid_generic_inout functionality together
I wrote it like this, but it doesn't work
Beta Was this translation helpful? Give feedback.
All reactions