summaryrefslogtreecommitdiff
path: root/keyboards/deng
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/deng
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/deng')
-rw-r--r--keyboards/deng/djam/config.h1
-rw-r--r--keyboards/deng/djam/info.json3
-rw-r--r--keyboards/deng/thirty/config.h1
-rw-r--r--keyboards/deng/thirty/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h
index 5896f3cd70..39ea6d6e90 100644
--- a/keyboards/deng/djam/config.h
+++ b/keyboards/deng/djam/config.h
@@ -16,7 +16,6 @@
#pragma once
#ifdef RGB_MATRIX_ENABLE
-#define RGB_DI_PIN D5
#define RGB_MATRIX_LED_COUNT 31
#define RGB_MATRIX_KEYPRESSES
#define ENABLE_RGB_MATRIX_BREATHING
diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json
index cdba6219d4..ef1b783d96 100644
--- a/keyboards/deng/djam/info.json
+++ b/keyboards/deng/djam/info.json
@@ -17,6 +17,9 @@
"pin": "B7",
"levels": 5
},
+ "ws2812": {
+ "pin": "D5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h
index e96dee185b..d80983202f 100644
--- a/keyboards/deng/thirty/config.h
+++ b/keyboards/deng/thirty/config.h
@@ -17,7 +17,6 @@
/* RGB Matrix */
#ifdef RGB_MATRIX_ENABLE
-#define RGB_DI_PIN B12
#define RGB_MATRIX_LED_COUNT 30
#define RGB_MATRIX_KEYPRESSES
// #define RGB_MATRIX_KEYRELEASES
diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json
index 21254557d4..9bfcfad411 100644
--- a/keyboards/deng/thirty/info.json
+++ b/keyboards/deng/thirty/info.json
@@ -19,6 +19,9 @@
"levels": 5,
"on_state": 0
},
+ "ws2812": {
+ "pin": "B12"
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {