Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

hybrid boot keyboard #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

hybrid boot keyboard #100

wants to merge 1 commit into from

Conversation

tlyu
Copy link

@tlyu tlyu commented Nov 30, 2023

Make the Boot Keyboard the only keyboard, and make it have a hybrid
report format in Report Protoocol, while still ending Boot Reports in
Boot Protocol. The hybrid reports have the Boot Report as a prefix,
which might help hosts that don't request Boot Protocol but still
expect to see it.

Include a way to switch between the hybrid report, and sending only
Boot Protocol regardless of whether the host has requested it. Defaults
to sending hybrid protocol, but this can be changed at compile time.

Fixes keyboardio/Kaleidoscope#1305, when combined with keyboardio/Kaleidoscope#1361. They are probably not safe to apply independently.

As a side effect, fixes #98. Also fixes a minor bug with the boot keyboard's report descriptor, and compacts them a bit by more strategic use of global state.

@tlyu tlyu force-pushed the hybrid-bootkb branch 2 times, most recently from 23fbe5c to 58138fe Compare December 9, 2023 20:15
Make the Boot Keyboard the only keyboard, and make it have a hybrid
report format in Report Protoocol, while still ending Boot Reports in
Boot Protocol. The hybrid reports have the Boot Report as a prefix,
which might help hosts that don't request Boot Protocol but still
expect to see it.

Include a way to switch between the hybrid report, and sending only
Boot Protocol regardless of whether the host has requested it. Defaults
to sending hybrid protocol, but this can be changed at compile time.

Signed-off-by: Taylor Yu <[email protected]>
@tlyu tlyu marked this pull request as ready for review December 10, 2023 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant