summaryrefslogtreecommitdiff
path: root/keyboards/sentraq/s60_x/rgb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sentraq/s60_x/rgb')
-rw-r--r--keyboards/sentraq/s60_x/rgb/config.h8
-rw-r--r--keyboards/sentraq/s60_x/rgb/info.json5
-rw-r--r--keyboards/sentraq/s60_x/rgb/rgb.c1
3 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/sentraq/s60_x/rgb/config.h b/keyboards/sentraq/s60_x/rgb/config.h
index 2332b484e1..85f6271c32 100644
--- a/keyboards/sentraq/s60_x/rgb/config.h
+++ b/keyboards/sentraq/s60_x/rgb/config.h
@@ -1,19 +1,11 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 }
-#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 }
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/sentraq/s60_x/rgb/info.json b/keyboards/sentraq/s60_x/rgb/info.json
index 6420a8069a..0c6aba4ac6 100644
--- a/keyboards/sentraq/s60_x/rgb/info.json
+++ b/keyboards/sentraq/s60_x/rgb/info.json
@@ -1,5 +1,10 @@
{
"keyboard_name": "S60-X-RGB",
+ "matrix_pins": {
+ "cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"],
+ "rows": ["B5", "B4", "D7", "D6", "D4"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"breathing": true
diff --git a/keyboards/sentraq/s60_x/rgb/rgb.c b/keyboards/sentraq/s60_x/rgb/rgb.c
deleted file mode 100644
index 0117e14ae5..0000000000
--- a/keyboards/sentraq/s60_x/rgb/rgb.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "rgb.h"