summaryrefslogtreecommitdiff
path: root/keyboards/edi
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/edi
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/edi')
-rw-r--r--keyboards/edi/hardlight/mk1/config.h1
-rw-r--r--keyboards/edi/hardlight/mk1/info.json3
-rw-r--r--keyboards/edi/hardlight/mk2/config.h1
-rw-r--r--keyboards/edi/hardlight/mk2/info.json1
-rw-r--r--keyboards/edi/standaside/config.h1
-rw-r--r--keyboards/edi/standaside/info.json3
6 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h
index 273c65f800..6677c4587e 100644
--- a/keyboards/edi/hardlight/mk1/config.h
+++ b/keyboards/edi/hardlight/mk1/config.h
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*
* Enable RGB Underlighting
*/
-#define RGB_DI_PIN C7
#define RGBLED_NUM 15
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/info.json
index 9df49db14c..d7275dfa70 100644
--- a/keyboards/edi/hardlight/mk1/info.json
+++ b/keyboards/edi/hardlight/mk1/info.json
@@ -11,6 +11,9 @@
"rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"]
},
"diode_direction": "COL2ROW",
+ "ws2812": {
+ "pin": "C7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h
index 847660514c..3ea34c53ee 100644
--- a/keyboards/edi/hardlight/mk2/config.h
+++ b/keyboards/edi/hardlight/mk2/config.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
/* RGB Underglow */
-#define RGB_DI_PIN A10
#define RGBLED_NUM 32
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json
index d200bb0863..63ca3aa15d 100644
--- a/keyboards/edi/hardlight/mk2/info.json
+++ b/keyboards/edi/hardlight/mk2/info.json
@@ -7,6 +7,7 @@
"device_version": "0.0.7"
},
"ws2812": {
+ "pin": "A10",
"driver": "pwm"
},
"matrix_pins": {
diff --git a/keyboards/edi/standaside/config.h b/keyboards/edi/standaside/config.h
index 16354b4b55..e59dbc15e6 100644
--- a/keyboards/edi/standaside/config.h
+++ b/keyboards/edi/standaside/config.h
@@ -10,7 +10,6 @@
/*
* Enable RGB Underlighting
*/
-#define RGB_DI_PIN C7
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/edi/standaside/info.json b/keyboards/edi/standaside/info.json
index b418f9b202..0c8bb289b0 100644
--- a/keyboards/edi/standaside/info.json
+++ b/keyboards/edi/standaside/info.json
@@ -13,6 +13,9 @@
"rows": ["D1", "F4", "F6", "F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
+ "ws2812": {
+ "pin": "C7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {