summaryrefslogtreecommitdiff
path: root/keyboards/doio
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/doio
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/doio')
-rw-r--r--keyboards/doio/kb16/rev1/config.h1
-rw-r--r--keyboards/doio/kb16/rev1/info.json3
-rw-r--r--keyboards/doio/kb16/rev2/config.h1
-rw-r--r--keyboards/doio/kb16/rev2/info.json3
-rw-r--r--keyboards/doio/kb30/config.h1
-rw-r--r--keyboards/doio/kb30/info.json3
-rw-r--r--keyboards/doio/kb38/config.h1
-rw-r--r--keyboards/doio/kb38/info.json3
8 files changed, 12 insertions, 4 deletions
diff --git a/keyboards/doio/kb16/rev1/config.h b/keyboards/doio/kb16/rev1/config.h
index c01191e869..8739474326 100644
--- a/keyboards/doio/kb16/rev1/config.h
+++ b/keyboards/doio/kb16/rev1/config.h
@@ -25,7 +25,6 @@
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix config */
- #define RGB_DI_PIN F6
#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
diff --git a/keyboards/doio/kb16/rev1/info.json b/keyboards/doio/kb16/rev1/info.json
index 7cc263246c..f42f039846 100644
--- a/keyboards/doio/kb16/rev1/info.json
+++ b/keyboards/doio/kb16/rev1/info.json
@@ -20,6 +20,9 @@
{"pin_a": "D7", "pin_b": "D6"}
]
},
+ "ws2812": {
+ "pin": "F6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/doio/kb16/rev2/config.h b/keyboards/doio/kb16/rev2/config.h
index a11f7c8d3a..9580435e5c 100644
--- a/keyboards/doio/kb16/rev2/config.h
+++ b/keyboards/doio/kb16/rev2/config.h
@@ -32,7 +32,6 @@
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix config */
- #define RGB_DI_PIN A10
#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
diff --git a/keyboards/doio/kb16/rev2/info.json b/keyboards/doio/kb16/rev2/info.json
index 839708ada0..9dff8e0f6e 100644
--- a/keyboards/doio/kb16/rev2/info.json
+++ b/keyboards/doio/kb16/rev2/info.json
@@ -20,6 +20,9 @@
{"pin_a": "A3", "pin_b": "A4"}
]
},
+ "ws2812": {
+ "pin": "A10"
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {
diff --git a/keyboards/doio/kb30/config.h b/keyboards/doio/kb30/config.h
index c2fe07026c..a87532c459 100644
--- a/keyboards/doio/kb30/config.h
+++ b/keyboards/doio/kb30/config.h
@@ -36,7 +36,6 @@
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix config */
- #define RGB_DI_PIN A10
#define RGB_MATRIX_LED_COUNT 36
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
diff --git a/keyboards/doio/kb30/info.json b/keyboards/doio/kb30/info.json
index 570d0d9ab0..f06ffab850 100644
--- a/keyboards/doio/kb30/info.json
+++ b/keyboards/doio/kb30/info.json
@@ -20,6 +20,9 @@
{"pin_a": "A3", "pin_b": "A4", "resolution": 2}
]
},
+ "ws2812": {
+ "pin": "A10"
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {
diff --git a/keyboards/doio/kb38/config.h b/keyboards/doio/kb38/config.h
index 740f1baea7..ff90cbc8a7 100644
--- a/keyboards/doio/kb38/config.h
+++ b/keyboards/doio/kb38/config.h
@@ -3,7 +3,6 @@
#pragma once
-#define RGB_DI_PIN F6
#define RGB_MATRIX_LED_COUNT 44
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
diff --git a/keyboards/doio/kb38/info.json b/keyboards/doio/kb38/info.json
index 227511295c..352702f814 100644
--- a/keyboards/doio/kb38/info.json
+++ b/keyboards/doio/kb38/info.json
@@ -32,6 +32,9 @@
{"pin_a": "D6", "pin_b": "D7", "resolution": 2}
]
},
+ "ws2812": {
+ "pin": "F6"
+ },
"rgb_matrix": {
"driver": "WS2812",
"layout": [