From 99918945149f98cf73f9365b0ad49a2fc07d1152 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 11 Feb 2023 13:45:51 +1100 Subject: Generate encodermap output from keymap.json. (#18915) Co-authored-by: Joel Challis --- data/schemas/keymap.jsonschema | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'data') 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": { -- cgit v1.2.3