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

Add a way to declare the default keymap #197

Open
crawfxrd opened this issue Jun 16, 2023 · 2 comments
Open

Add a way to declare the default keymap #197

crawfxrd opened this issue Jun 16, 2023 · 2 comments

Comments

@crawfxrd
Copy link
Member

crawfxrd commented Jun 16, 2023

Replace hard-coding default.c with a KEYMAP variable or something that defines the default layout to use.

System76 laptop keyboards are changing their layouts starting with RPL. They use the same matrix layout as 15in_102, but may have different key layouts. For example, "Display Toggle" being replaced by "Mic Mute" on Fn layer of F2.

Ref: src/keyboard/system76/15in_102/keyboard.mk
Ref: system76/ec#366
Ref: system76/ec#352

@crawfxrd
Copy link
Member Author

Alternatively, keyboards in System76 EC gets renamed (stop using "size and number of keys" as unique names) so every potential keyboard we can ever have does have a default.c. Then keyboard-configurator would only need to update the keyboard used.

@ids1024
Copy link
Member

ids1024 commented Jul 18, 2023

default.json is already per-laptop rather than per-"keyboard" in the Configurator, so it wouldn't be hard to update layouts.py to accommodate this.

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

No branches or pull requests

2 participants