-
Notifications
You must be signed in to change notification settings - Fork 263
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
refactor KeyboardioHID more abstractly #1410
Conversation
Correct the field names for the HID descriptor. This was only filled using a macro, so no change in the resulting bytes. Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
It contains the "portable" constants that a front-end API might use. Convert AbsoluteMouseAPI to depend on this, without needing HID.h. Signed-off-by: Taylor Yu <[email protected]>
This makes it easier to get the simulator tests working again. Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Slight behavior change, but it's not a problem if we report a smaller endpoint size to the host than we've allocated for endpoint buffer RAM. Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
There are no remaining lines from the Arduino original. Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Signed-off-by: Taylor Yu <[email protected]>
Cool. Thanks. Does this feel ready to merge to you? |
I think so. It's been stable for quite some time. There is one behavior change that I did to work around what seems like a bug in clang-format-15 that's not present in my local version. I think it was trying to align assignments that it shouldn't have, maybe across different blocks, or even different functions? Hopefully the commit message makes it somewhat clear. |
Thanks! Merged. |
Refactor the platform-independent front end bits out out of KeyboardioHID, so they can be used by other back ends that aren't based on PluggableUSB.