summaryrefslogtreecommitdiff
path: root/keyboards/anavi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/anavi
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/anavi')
-rw-r--r--keyboards/anavi/knob1/info.json2
-rw-r--r--keyboards/anavi/knobs3/info.json2
-rw-r--r--keyboards/anavi/macropad10/info.json2
-rw-r--r--keyboards/anavi/macropad8/config.h1
-rw-r--r--keyboards/anavi/macropad8/info.json3
5 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json
index 3d9780a741..272097dd8c 100644
--- a/keyboards/anavi/knob1/info.json
+++ b/keyboards/anavi/knob1/info.json
@@ -15,7 +15,6 @@
"rgblight": true
},
"rgblight": {
- "pin": "GP12",
"led_count": 1,
"hue_steps": 10,
"saturation_steps": 17,
@@ -35,6 +34,7 @@
}
},
"ws2812": {
+ "pin": "GP12",
"driver": "vendor"
},
"encoder": {
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": {
diff --git a/keyboards/anavi/macropad10/info.json b/keyboards/anavi/macropad10/info.json
index 4572655ce7..57f1d321ff 100644
--- a/keyboards/anavi/macropad10/info.json
+++ b/keyboards/anavi/macropad10/info.json
@@ -20,7 +20,6 @@
"rgblight": true
},
"rgblight": {
- "pin": "GP3",
"led_count": 4,
"hue_steps": 10,
"saturation_steps": 17,
@@ -40,6 +39,7 @@
}
},
"ws2812": {
+ "pin": "GP3",
"driver": "vendor"
},
"encoder": {
diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h
index fce7328718..2f848d551b 100644
--- a/keyboards/anavi/macropad8/config.h
+++ b/keyboards/anavi/macropad8/config.h
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812B RGB LED */
#ifdef RGBLIGHT_ENABLE
-# define RGB_DI_PIN F4
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json
index b52ca5a176..9032ac5fa8 100644
--- a/keyboards/anavi/macropad8/info.json
+++ b/keyboards/anavi/macropad8/info.json
@@ -12,6 +12,9 @@
"pin": "D7",
"breathing": true
},
+ "ws2812": {
+ "pin": "F4"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {