USBDevice hid debug whit webusb-hid
using USBDevice hid, cannot search for devices in webUSB(webhid) . I want to debug it in webhid, how can I do it
https://github.com/myst729/arduino-webhid/blob/master/webhid.html
Support for USB_HID Consumer Control devices?
For context in case any of y'all aren't HID folks (I wasn't until recently!), Consumer Mode is an additional (pseudo-)device a USB peripheral can advertise to allow a whole bunch of generally media-related functionalities - notably, the "media keys" of modern keyboards (PlayPause, VolumeUp, VolumeDown, that goofy button that launches your default web browser when you probably meant to hit some other key, etc).
I see some vague references to consumer device reports in the STM32 USB HAL code (I'm testing primarily on a PyBoard, though NRF devices are also in my scope of interest), but nothing notable exposed to Python. I suppose I could use a custom tuple as the hid argument to USB_HID('VSC+HID', hid=...), but as far as I understand it, I'd then lose the main keyboard HID device.
I suppose a related question here is how to "be" two HID types at once in MicroPython - let's say for example I wanted to throw a trackpoint and some mouse buttons onto a MicroPython-based keyboard. I'd need to "be" at least two HID types here - keyboard and mouse. Three if I want volume keys on said device - keyboard, mouse, and consumer control.
There's some existing art in this general realm, particularly on NRF chips, over in https://github.com/adafruit/circuitpython land (see also), but at this point that project has deviated far enough that I'm nowhere near comfortable enough with C to try to backport their additions.
I'm hoping I'll be told I need to read more closely, and that Consumer Control devices are supported, but from my understanding so far, it looks like there's just basic stubs in C, and no way for me to (easily, out-of-the-box) use them. Thanks folks!