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

[Feature Request] automatic generation of default keymaps #1338

Open
arrowmechanics opened this issue Apr 1, 2024 · 2 comments
Open

[Feature Request] automatic generation of default keymaps #1338

arrowmechanics opened this issue Apr 1, 2024 · 2 comments

Comments

@arrowmechanics
Copy link

Description

Keeping keymaps in this repo seems to be counterproductive, since there are two sources of default keymaps: here and in the firmware repo - ultimately this is duplicated code, its just that we keep it here in JSOHN, and
there in C.

Wouldnt it be convenient if the configurator just downloaded the default keymap automatically from qmk_firmware source? Has this solution ever been discussed?

@yanfali
Copy link
Collaborator

yanfali commented Apr 1, 2024 via email

@arrowmechanics
Copy link
Author

Cool!
Adding an endpoint to the API for getting the default keymap parsed by CLI's c2json seems like the most obvious solution - it keeps the code-operations on the API side, which already keeps itself updated with qmk_firmware code changes, right?.

Do You think it's easily possible to add such endpoint to the API, since the code is not sourced?
We could take care of the configurator part then - for fetching the keymap from the endpoint.

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

No branches or pull requests

2 participants