qmk/qmk_firmware

[XAP Prereq] `info.json` layout options

開放

#15,599 建立於 2021年12月27日

 (2 則留言) (0 個反應) (0 位負責人)C (43,867 個分叉)batch import
awaiting changesenhancementhelp wantedin progressxap

倉庫指標

星標
 (20,368 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

XAP Task Info

Original Issue Original spec document Current XAP Definitions Current XAP Generated Docs Placeholder PR

Description

Any work in this area needs to be discussed with QMK Collaborators first, and in this case primarily with @skullydazed due to their prior work in this area.

The info.json format needs to be modified such that rather than specifying multiple fully defined LAYOUTs, a single layout can be specified with "layout options" that are capable of removing and adding keys depending on the selection.

This enables a much smaller method of defining such layout combinations -- if a keyboard supported:

  • 2U backspace or split backspace
  • ANSI or ISO Enter
  • 6U, 6.25U, 7U, or Tsangan bottom row

Then under the current format the info.json would need to define 2x2x4=16 layouts. A "base" with "options" would significantly decrease the amount of definitions required, as well as significantly lower the size of the embedded info.json blob for XAP.

貢獻者指南