summaryrefslogtreecommitdiff
path: root/keyboards/kiwikey
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/kiwikey
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/kiwikey')
-rw-r--r--keyboards/kiwikey/borderland/config.h1
-rw-r--r--keyboards/kiwikey/borderland/info.json3
-rw-r--r--keyboards/kiwikey/kawii9/config.h1
-rw-r--r--keyboards/kiwikey/kawii9/info.json3
-rw-r--r--keyboards/kiwikey/wanderland/config.h1
-rw-r--r--keyboards/kiwikey/wanderland/info.json3
6 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/kiwikey/borderland/config.h b/keyboards/kiwikey/borderland/config.h
index 92436e41fb..1676967490 100644
--- a/keyboards/kiwikey/borderland/config.h
+++ b/keyboards/kiwikey/borderland/config.h
@@ -5,7 +5,6 @@
#define TAP_CODE_DELAY 10
-#define RGB_DI_PIN B2
#define RGBLED_NUM 18
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/kiwikey/borderland/info.json b/keyboards/kiwikey/borderland/info.json
index 56f5367bd1..30f8ccc048 100644
--- a/keyboards/kiwikey/borderland/info.json
+++ b/keyboards/kiwikey/borderland/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6"}
]
},
+ "ws2812": {
+ "pin": "B2"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/kiwikey/kawii9/config.h b/keyboards/kiwikey/kawii9/config.h
index 13374ee337..ee2c509f2a 100644
--- a/keyboards/kiwikey/kawii9/config.h
+++ b/keyboards/kiwikey/kawii9/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN D3 // Ver1: F0, Ver2: D3
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/kiwikey/kawii9/info.json b/keyboards/kiwikey/kawii9/info.json
index 4844dd9701..7537e7fe8a 100644
--- a/keyboards/kiwikey/kawii9/info.json
+++ b/keyboards/kiwikey/kawii9/info.json
@@ -8,6 +8,9 @@
"pid": "0x0303",
"device_version": "0.0.2"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6"],
"rows": ["B6", "B5", "B4"]
diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h
index 337277fadc..dd9288a183 100644
--- a/keyboards/kiwikey/wanderland/config.h
+++ b/keyboards/kiwikey/wanderland/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN F7
#define RGBLED_NUM 18
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/info.json
index a220d57687..eb41a349d0 100644
--- a/keyboards/kiwikey/wanderland/info.json
+++ b/keyboards/kiwikey/wanderland/info.json
@@ -17,6 +17,9 @@
"pin": "B7",
"breathing": true
},
+ "ws2812": {
+ "pin": "F7"
+ },
"indicators": {
"caps_lock": "B6",
"num_lock": "C6",