qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit 7d66c11f378acd46e03506ff573a61912a1eda5e
parent e391793f7317ca406989cea30dcd43ebbdb1f0e8
Author: Joel Challis <git@zvecr.com>
Date:   Tue, 13 Jan 2026 05:48:59 +0000

Lint default dynamic keymap layer count (#25948)


Diffstat:
Mdata/mappings/info_defaults.hjson | 3+++
Mdata/schemas/keyboard.jsonschema | 11+++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/data/mappings/info_defaults.hjson b/data/mappings/info_defaults.hjson @@ -11,6 +11,9 @@ "on_state": 1 }, "debounce": 5, + "dynamic_keymap": { + "layer_count": 4 + }, "features": { "command": false, "console": false diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema @@ -333,6 +333,17 @@ } } }, + "dynamic_keymap": { + "type": "object", + "properties": { + "eeprom_max_addr": {"$ref": "./definitions.jsonschema#/unsigned_int"}, + "layer_count": { + "type": "integer", + "minimum": 1, + "maximum": 32 + } + } + }, "eeprom": { "properties": { "driver": {"type": "string"},