diff options
author | Nick Brassel <nick@tzarc.org> | 2023-02-11 13:45:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 13:45:51 +1100 |
commit | 99918945149f98cf73f9365b0ad49a2fc07d1152 (patch) | |
tree | d162dc0097445dfbd611cd9580cd04c4b31f3ac2 /data/schemas/keymap.jsonschema | |
parent | 01593501e30624af64abc1905944788f8e3b15ba (diff) |
Generate encodermap output from keymap.json. (#18915)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'data/schemas/keymap.jsonschema')
-rw-r--r-- | data/schemas/keymap.jsonschema | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema index 2fcd5f8a51..73aa7c5c22 100644 --- a/data/schemas/keymap.jsonschema +++ b/data/schemas/keymap.jsonschema @@ -21,6 +21,20 @@ "items": {"type": "string"} } }, + "encoders": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "required": ["ccw", "cw"], + "properties": { + "ccw": {"type": "string"}, + "cw": {"type": "string"} + } + } + } + }, "macros": { "type": "array", "items": { |