summaryrefslogtreecommitdiff
path: root/keyboards/tg4x
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/tg4x
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/tg4x')
-rw-r--r--keyboards/tg4x/config.h1
-rw-r--r--keyboards/tg4x/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/tg4x/config.h b/keyboards/tg4x/config.h
index 354e163b39..4cc46acbbb 100644
--- a/keyboards/tg4x/config.h
+++ b/keyboards/tg4x/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN D2
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/tg4x/info.json b/keyboards/tg4x/info.json
index 33c45b68b8..4250d9b8dc 100644
--- a/keyboards/tg4x/info.json
+++ b/keyboards/tg4x/info.json
@@ -8,6 +8,9 @@
"pid": "0x0458",
"device_version": "0.2.1"
},
+ "ws2812": {
+ "pin": "D2"
+ },
"matrix_pins": {
"cols": ["D3", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"]