qmk/qmk_firmware

[Feature Request] info.json for userspace building

Open

#20,406 创建于 2023年4月10日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)C (43,867 fork)batch import
discussionenhancementhelp wanted

仓库指标

Star
 (20,368 star)
PR 合并指标
 (平均合并 20天 9小时) (30 天内合并 27 个 PR)

描述

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

贡献者指南