Browse Source

Merge remote-tracking branch 'origin/master' into develop

QMK Bot 7 months ago
parent
commit
c72581474e
2 changed files with 14 additions and 0 deletions
  1. 3 0
      data/mappings/info_defaults.hjson
  2. 11 0
      data/schemas/keyboard.jsonschema

+ 3 - 0
data/mappings/info_defaults.hjson

@@ -11,6 +11,9 @@
         "on_state": 1
     },
     "debounce": 5,
+    "dynamic_keymap": {
+        "layer_count": 4
+    },
     "features": {
         "command": false,
         "console": false

+ 11 - 0
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"},