diff options
author | Ryan <[email protected]> | 2023-03-11 05:41:58 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-11 05:41:58 +1100 |
commit | e933e0411f442fa411d3d5ec488180fee241e2ef (patch) | |
tree | f091f00a1408d752389385ff793c2878ec99e368 /keyboards/sentraq/s65_plus | |
parent | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff) | |
download | qmk_firmware-e933e0411f442fa411d3d5ec488180fee241e2ef.tar.gz qmk_firmware-e933e0411f442fa411d3d5ec488180fee241e2ef.zip |
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/sentraq/s65_plus')
-rw-r--r-- | keyboards/sentraq/s65_plus/config.h | 8 | ||||
-rw-r--r-- | keyboards/sentraq/s65_plus/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/sentraq/s65_plus/config.h b/keyboards/sentraq/s65_plus/config.h index 3b8323074f..ea97d48f84 100644 --- a/keyboards/sentraq/s65_plus/config.h +++ b/keyboards/sentraq/s65_plus/config.h @@ -1,10 +1,5 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } -#define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } - #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD @@ -22,9 +17,6 @@ #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20 -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/sentraq/s65_plus/info.json b/keyboards/sentraq/s65_plus/info.json index 3d9f6d1f21..b19bffd207 100644 --- a/keyboards/sentraq/s65_plus/info.json +++ b/keyboards/sentraq/s65_plus/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "D5", "B2", "B3", "D0", "D1", "D2", "D4", "D6", "D7", "F7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B7" }, |