summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic
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/preonic
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/keymaps/seph/config.h4
-rw-r--r--keyboards/preonic/rev3/config.h1
-rw-r--r--keyboards/preonic/rev3/info.json1
-rw-r--r--keyboards/preonic/rev3_drop/config.h1
-rw-r--r--keyboards/preonic/rev3_drop/info.json1
5 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/preonic/keymaps/seph/config.h b/keyboards/preonic/keymaps/seph/config.h
index 0267852335..18812886f7 100644
--- a/keyboards/preonic/keymaps/seph/config.h
+++ b/keyboards/preonic/keymaps/seph/config.h
@@ -7,8 +7,8 @@
#define BACKLIGHT_LEVELS 8
/* ws2812 RGB LED */
-#undef RGB_DI_PIN
-#define RGB_DI_PIN B3
+#undef WS2812_DI_PIN
+#define WS2812_DI_PIN B3
#undef RGBLED_NUM
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h
index a2de64a324..2f55894ae6 100644
--- a/keyboards/preonic/rev3/config.h
+++ b/keyboards/preonic/rev3/config.h
@@ -45,7 +45,6 @@
/*
* WS2812 Underglow Matrix options
*/
-#define RGB_DI_PIN A1
#define RGBLED_NUM 9
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json
index 253017bf9a..de242674bb 100644
--- a/keyboards/preonic/rev3/info.json
+++ b/keyboards/preonic/rev3/info.json
@@ -7,6 +7,7 @@
"device_version": "0.0.3"
},
"ws2812": {
+ "pin": "A1",
"driver": "pwm"
},
"matrix_pins": {
diff --git a/keyboards/preonic/rev3_drop/config.h b/keyboards/preonic/rev3_drop/config.h
index f05911872b..ac584dfbfe 100644
--- a/keyboards/preonic/rev3_drop/config.h
+++ b/keyboards/preonic/rev3_drop/config.h
@@ -45,7 +45,6 @@
/*
* WS2812 Underglow Matrix options
*/
-#define RGB_DI_PIN A1
#define RGBLED_NUM 9
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json
index a327c2cf40..ff105f700f 100644
--- a/keyboards/preonic/rev3_drop/info.json
+++ b/keyboards/preonic/rev3_drop/info.json
@@ -7,6 +7,7 @@
"device_version": "0.0.3"
},
"ws2812": {
+ "pin": "A1",
"driver": "pwm"
},
"matrix_pins": {