-
Notifications
You must be signed in to change notification settings - Fork 2
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
Helpers for creating USB HID keyboards #28
Comments
This may be helpful: |
Correct me if I'm wrong but that library looks like it's meant to interact with USB devices from a host? |
Sorry, I didn't mean to imply we should use the library as a dependency. I saw it spits out USB configuration and device data, so thought I'd reference it here in case it can help with figuring out things like n-key rollover. |
Creating a USB gadget device that exposes a HID keyboard can involve some cryptic settings, especially for developers who just want to send keyboard events without diving into the USB spec. An example of this configuration can be found in Xebow's
hid_gadget.ex
file:AFK could encapsulate USB configuration into one or more helpers, like:
The text was updated successfully, but these errors were encountered: