Skip to content

Split up the Keyboard type. #31

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

Merged
merged 5 commits into from
Feb 10, 2023
Merged

Split up the Keyboard type. #31

merged 5 commits into from
Feb 10, 2023

Conversation

thejpster
Copy link
Member

@thejpster thejpster commented Feb 9, 2023

We now have separate types for decoding the PS/2 bitstream, processing Scan Codes into KeyEvents, and decoding KeyEvents according to the current layout.

Also adds an 'AnyLayout' type which lets you swap layouts at run-time.

Closes #30

thejpster and others added 3 commits February 9, 2023 22:30
We now have separate types for decoding the PS/2 bitstream, processing Scan Codes into KeyEvents, and decoding KeyEvents according to the current layout.

Also adds an 'AnyLayout' type which lets you swap layouts at run-time.
@thejpster
Copy link
Member Author

Fixed the comments on the layout types to use Oem5 and Oem7, because that's electrically fixed by the choice of ANSI or ISO and doesn't vary with what you've printed on the keycaps.

Also German QWERTZ is 105 key so I renamed it.

@thejpster thejpster merged commit 93820bb into main Feb 10, 2023
@thejpster thejpster deleted the split-types branch February 11, 2023 00:19
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.

Split up Keyboard
3 participants