qmk/qmk_firmware

[Feature Request] info.json for userspace building

Aberta

#20.406 aberto em 10 de abr. de 2023

 (2 comentários) (1 reação) (0 responsável)C (43.867 forks)batch import
discussionenhancementhelp wanted

Métricas do repositório

Stars
 (20.368 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Feature Request Type

  • Core functionality
  • Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

I have a couple of handwired keyboards. I like the idea of building qmk with github userspace and a data driven keyboard configuration.

From my understanding the keymap.json could include a complete keyboard configuration, but it is not treated as such. The qmk compile command still needs the keyboard configuration folder.

My current approach is to create a info.json use qmk import-keyboard to create a keyboard directory and then compile the keyboard with an keymap.json.

Is there a better way to do it? Would you be open for a enhancement to somehow specify a data driven keyboard config? I might be able to implement needed changes in qmk_cli

Guia do colaborador