diff options
| author | Joel Challis <git@zvecr.com> | 2025-09-12 10:23:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-12 10:23:23 +0100 |
| commit | cf58a8733d35bbfea2f54bd0175747ee63d9b2e3 (patch) | |
| tree | 6bee7d8c07e398032bf34bee540a3f08b1fd0dfe /data | |
| parent | 3320e98ccf6d1fccfada9d6f1d97759e80a340e8 (diff) | |
Add DIP Switch map support to keymap.json (#25431)
Diffstat (limited to 'data')
| -rw-r--r-- | data/schemas/keymap.jsonschema | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema index 99aeaa6b6c..71b39fc7c4 100644 --- a/data/schemas/keymap.jsonschema +++ b/data/schemas/keymap.jsonschema | |||
| @@ -35,6 +35,17 @@ | |||
| 35 | } | 35 | } |
| 36 | } | 36 | } |
| 37 | }, | 37 | }, |
| 38 | "dip_switches": { | ||
| 39 | "type": "array", | ||
| 40 | "items": { | ||
| 41 | "type": "object", | ||
| 42 | "required": ["on", "off"], | ||
| 43 | "properties": { | ||
| 44 | "on": {"type": "string"}, | ||
| 45 | "off": {"type": "string"} | ||
| 46 | } | ||
| 47 | } | ||
| 48 | }, | ||
| 38 | "macros": { | 49 | "macros": { |
| 39 | "type": "array", | 50 | "type": "array", |
| 40 | "items": { | 51 | "items": { |
