summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/odin
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/kbdfans/odin
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/kbdfans/odin')
-rw-r--r--keyboards/kbdfans/odin/rgb/config.h1
-rw-r--r--keyboards/kbdfans/odin/rgb/info.json3
-rw-r--r--keyboards/kbdfans/odin/soldered/config.h1
-rw-r--r--keyboards/kbdfans/odin/soldered/info.json3
-rw-r--r--keyboards/kbdfans/odin/v2/config.h2
-rw-r--r--keyboards/kbdfans/odin/v2/info.json3
6 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/kbdfans/odin/rgb/config.h b/keyboards/kbdfans/odin/rgb/config.h
index 5c0d856986..54794e66be 100644
--- a/keyboards/kbdfans/odin/rgb/config.h
+++ b/keyboards/kbdfans/odin/rgb/config.h
@@ -18,7 +18,6 @@
#define RGBLED_NUM 104
#define RGB_MATRIX_LED_COUNT 104
-#define RGB_DI_PIN B15
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED
diff --git a/keyboards/kbdfans/odin/rgb/info.json b/keyboards/kbdfans/odin/rgb/info.json
index f776104754..5b25de9f49 100644
--- a/keyboards/kbdfans/odin/rgb/info.json
+++ b/keyboards/kbdfans/odin/rgb/info.json
@@ -8,6 +8,9 @@
"pid": "0x0102",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B15"
+ },
"matrix_pins": {
"cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "C13", "C14", "C15", "A0"],
"rows": ["A10", "A9", "A8", "B14", "B13", "A2"]
diff --git a/keyboards/kbdfans/odin/soldered/config.h b/keyboards/kbdfans/odin/soldered/config.h
index 49c3ab9233..6fa6d5651b 100644
--- a/keyboards/kbdfans/odin/soldered/config.h
+++ b/keyboards/kbdfans/odin/soldered/config.h
@@ -16,7 +16,6 @@
#pragma once
-#define RGB_DI_PIN B15
#define RGBLED_NUM 4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/kbdfans/odin/soldered/info.json b/keyboards/kbdfans/odin/soldered/info.json
index fa7a390c08..b073fc9fb7 100644
--- a/keyboards/kbdfans/odin/soldered/info.json
+++ b/keyboards/kbdfans/odin/soldered/info.json
@@ -18,6 +18,9 @@
"num_lock": "B9",
"on_state": 0
},
+ "ws2812": {
+ "pin": "B15"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"debounce": 15,
diff --git a/keyboards/kbdfans/odin/v2/config.h b/keyboards/kbdfans/odin/v2/config.h
index d156ae5103..fe645e42a3 100644
--- a/keyboards/kbdfans/odin/v2/config.h
+++ b/keyboards/kbdfans/odin/v2/config.h
@@ -16,8 +16,6 @@
#pragma once
-#define RGB_DI_PIN B15
-
#define RGBLED_NUM 4
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kbdfans/odin/v2/info.json b/keyboards/kbdfans/odin/v2/info.json
index 8421ab3b47..4fc091358b 100644
--- a/keyboards/kbdfans/odin/v2/info.json
+++ b/keyboards/kbdfans/odin/v2/info.json
@@ -18,6 +18,9 @@
"num_lock": "B9",
"on_state": 0
},
+ "ws2812": {
+ "pin": "B15"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {