From 36ce81df592ca8e9f9fed498e513437aa1cae54f Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Mar 2023 18:22:12 +1100 Subject: Move `WS2812_DRIVER` to data driven (#20248) --- keyboards/anavi/knobs3/info.json | 3 +++ keyboards/anavi/knobs3/rules.mk | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/anavi/knobs3') diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json index 8bea49066d..b7bba5eddc 100644 --- a/keyboards/anavi/knobs3/info.json +++ b/keyboards/anavi/knobs3/info.json @@ -39,6 +39,9 @@ "twinkle": true } }, + "ws2812": { + "driver": "vendor" + }, "encoder": { "enabled": true, "rotary": [ diff --git a/keyboards/anavi/knobs3/rules.mk b/keyboards/anavi/knobs3/rules.mk index ed8acbe4ac..c3600290d9 100644 --- a/keyboards/anavi/knobs3/rules.mk +++ b/keyboards/anavi/knobs3/rules.mk @@ -1,5 +1,3 @@ -WS2812_DRIVER = vendor - OLED_ENABLE = yes OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C -- cgit v1.2.3 From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/anavi/knobs3/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboards/anavi/knobs3') diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json index b7bba5eddc..2500d2554e 100644 --- a/keyboards/anavi/knobs3/info.json +++ b/keyboards/anavi/knobs3/info.json @@ -20,7 +20,6 @@ "rgblight": true }, "rgblight": { - "pin": "GP12", "led_count": 1, "hue_steps": 10, "saturation_steps": 17, @@ -40,6 +39,7 @@ } }, "ws2812": { + "pin": "GP12", "driver": "vendor" }, "encoder": { -- cgit v1.2.3 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/knobs3/info.json | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'keyboards/anavi/knobs3') 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": { -- cgit v1.2.3 From a5e46d80822797cd2e0dc2a2b81c4ccce9e167f4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 3 May 2023 12:19:34 +1000 Subject: More `info.json` whitespace cleanups (#20665) --- keyboards/anavi/knobs3/info.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'keyboards/anavi/knobs3') diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json index 1a9f6e064c..ad51b7ce6c 100644 --- a/keyboards/anavi/knobs3/info.json +++ b/keyboards/anavi/knobs3/info.json @@ -53,9 +53,9 @@ "layouts": { "LAYOUT": { "layout": [ - { "label":"Mute", "x": 0, "y": 0, "matrix": [0, 0] }, - { "label":"RGB", "x": 0, "y": 1, "matrix": [0, 1] }, - { "label":"Animation", "x": 0, "y": 2, "matrix": [0, 2] } + {"label": "Mute", "x": 0, "y": 0, "matrix": [0, 0]}, + {"label": "RGB", "x": 0, "y": 1, "matrix": [0, 1]}, + {"label": "Animation", "x": 0, "y": 2, "matrix": [0, 2]} ] } }, -- cgit v1.2.3