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

hybrid boot keyboard#100

Open
tlyu wants to merge 1 commit intokeyboardio:masterfrom
tlyu:hybrid-bootkb
Open

hybrid boot keyboard#100
tlyu wants to merge 1 commit intokeyboardio:masterfrom
tlyu:hybrid-bootkb

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 <code@argon.blue>
@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

Development

Successfully merging this pull request may close these issues.

BootKeyboard doesn't send ErrorKeyRollover when too many keys are pressed high-level design changes for Boot/NKRO switching

1 participant

Comments