Skip to content
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

Implement the rest of the USB HID Class #64

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bschwind
Copy link
Owner

@bschwind bschwind commented Jul 12, 2024

From the spec, Appendix C

TODO

  • The keyboard must support the Idle request.
  • The keyboard must send data reports at the Idle rate or when receiving a Get_Report request, even when there are no new key events.
  • The keyboard must report a phantom state indexing Usage(ErrorRollOver) in all array fields whenever the number of keys pressed exceeds the Report Count. The limit is six non-modifier keys when using the keyboard descriptor in Appendix B. Additionally, a keyboard may report the phantom condition when an invalid or unrecognizable combination of keys is pressed
  • Synchronization between LED states and CAPS LOCK, NUM LOCK, SCROLL LOCK, COMPOSE, and KANA events is maintained by the host and NOT the keyboard. If using the keyboard descriptor in Appendix B, LED states are set by sending a 5-bit absolute report to the keyboard via a Set_Report(Output) request
  • Boot Keyboards must support the boot protocol and the Set_Protocol request. Boot Keyboards may support an alternative protocol (specified in the Report descriptor) for use in USB-aware operating environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant