shaoziyang wrote: ↑
Mon Mar 02, 2020 3:29 am
But is it possiable to use hid_mouse and hid_keyboard same time?
Not currently, but this could be supported with some code changes.
Note that my understanding of how this works is that one HID interface does one function (rather than a function per endpoint on the interface). i.e. my USB keyboard that I'm typing this on has a trackpoint mouse built in, and it shows up as a single device with two HID interfaces.
So it would require adding something like pyb.usb_mode('VCP+HID+HID') (similar to how e.g. 'VCP+VCP+MSC' is supported on some board).