-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request / Advice: Select HID Types on startup/during runtime #1960
Comments
I don't think you can change the USB descriptor or HID report format after a connection is made. You'd need to do a disconnect and reconnect/negotiate sequence for any changes AIUI. I'm not sure that's possible with the existing TinyUSB stack (which is used by the SDK as well as the Adafruit library). The USB descriptor and HID report IDs and format are set up by the core before
What errors exactly? The BT/BLE HID interfaces use the same report formats as TinyUSB, but I don't think they depend on any actual code. It might be simple enough to add fixes bracketed with |
THX @earlephilhower for the feedback. I have to split up things:
Example .ino sketch, using Adafruit TinyUSB + KeyboardBLE library, not compiling. |
Dear @earlephilhower ,
I've following problem:
the FLipMouse/FABI devices should support Mouse, Keyboard, Consumer and Joystick.
The problem starts with special USB hosts, for example the XBox Adaptive Controller.
Microsoft is not able to handle HID on this device like everyone else,
so using all 4 reports, the XAC is going crazy.
Using Joystick only, it works.
What I've tried / what questions came up:
is it anyhow possible to assign HID report map / report IDs on startup?
__SetupDescHIDReport
is called before setup, so IMHO it is not possible tohandle it here.
I tried to use the tinyUSB stack, what is basically no problem for me,
but: when using tinyUSB, it is not possible to use BLE HID libraries anymore (using KeyboardBLE results in linker errors because tinyUSB is used)
Is it anyhow possible to define the HID report map & report IDs for USB and BLE on startup or is the only way to achieve that by implementing everything necessary from
PicoBluetoothBLEHID.cpp
andRP2040USB.cpp
in my project and use the tinyUSB stack?Thank you very much for advice and keep up with the wonderful work on this project!
Greetings
The text was updated successfully, but these errors were encountered: