summaryrefslogtreecommitdiff
path: root/keyboards/anavi/knobs3
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-05-29 06:17:24 +1000
committerNick Brassel <nick@tzarc.org>2023-05-29 06:17:24 +1000
commit5024370dd0b441e86ace3089193e84c5b050d892 (patch)
treeb661d5b154be987f9c3dba3a526b70e0b63f9fef /keyboards/anavi/knobs3
parent16767e4d59c2334fcd2d5e6556a68d5ff60ffd7b (diff)
parent8b1d86eabf399e82af7738fb675b9c74195d0f98 (diff)
Merge branch 'develop'
Diffstat (limited to 'keyboards/anavi/knobs3')
-rw-r--r--keyboards/anavi/knobs3/info.json29
-rw-r--r--keyboards/anavi/knobs3/rules.mk2
2 files changed, 10 insertions, 21 deletions
diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json
index 8bea49066d..ad51b7ce6c 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,
@@ -39,32 +38,24 @@
"twinkle": true
}
},
+ "ws2812": {
+ "pin": "GP12",
+ "driver": "vendor"
+ },
"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": {
"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]}
]
}
},
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