From 798cbfe6a3430be9f73d3bc7c76550394077ccdb Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 16 Apr 2023 15:37:24 +1000 Subject: Fix info.json LTO and format encoder definitions (#20456) --- keyboards/anavi/knob1/info.json | 6 +----- keyboards/anavi/knobs3/info.json | 18 +++--------------- keyboards/anavi/macropad10/info.json | 6 +----- 3 files changed, 5 insertions(+), 25 deletions(-) (limited to 'keyboards/anavi') diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json index 272097dd8c..fd22b96603 100644 --- a/keyboards/anavi/knob1/info.json +++ b/keyboards/anavi/knob1/info.json @@ -40,11 +40,7 @@ "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "GP27", - "pin_b": "GP28", - "resolution": 2 - } + {"pin_a": "GP27", "pin_b": "GP28", "resolution": 2} ] }, "matrix_pins": { diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json index 2500d2554e..1a9f6e064c 100644 --- a/keyboards/anavi/knobs3/info.json +++ b/keyboards/anavi/knobs3/info.json @@ -45,21 +45,9 @@ "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "GP27", - "pin_b": "GP28", - "resolution": 2 - }, - { - "pin_a": "GP4", - "pin_b": "GP3", - "resolution": 2 - }, - { - "pin_a": "GP1", - "pin_b": "GP2", - "resolution": 2 - } + {"pin_a": "GP27", "pin_b": "GP28", "resolution": 2}, + {"pin_a": "GP4", "pin_b": "GP3", "resolution": 2}, + {"pin_a": "GP1", "pin_b": "GP2", "resolution": 2} ] }, "layouts": { diff --git a/keyboards/anavi/macropad10/info.json b/keyboards/anavi/macropad10/info.json index 57f1d321ff..214a72ec33 100644 --- a/keyboards/anavi/macropad10/info.json +++ b/keyboards/anavi/macropad10/info.json @@ -45,11 +45,7 @@ "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "GP1", - "pin_b": "GP2", - "resolution": 2 - } + {"pin_a": "GP1", "pin_b": "GP2", "resolution": 2} ] }, "layouts": { -- cgit v1.2.3