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/s60_x/default | |
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/s60_x/default')
-rw-r--r-- | keyboards/sentraq/s60_x/default/config.h | 8 | ||||
-rw-r--r-- | keyboards/sentraq/s60_x/default/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/sentraq/s60_x/default/config.h b/keyboards/sentraq/s60_x/default/config.h index 01ce1f2e65..1fa22a6e9d 100644 --- a/keyboards/sentraq/s60_x/default/config.h +++ b/keyboards/sentraq/s60_x/default/config.h @@ -1,19 +1,11 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 } - /* 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 LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE diff --git a/keyboards/sentraq/s60_x/default/info.json b/keyboards/sentraq/s60_x/default/info.json index ae5728a679..78e8827c00 100644 --- a/keyboards/sentraq/s60_x/default/info.json +++ b/keyboards/sentraq/s60_x/default/info.json @@ -1,5 +1,10 @@ { "keyboard_name": "S60-X", + "matrix_pins": { + "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E6", "F1"], + "rows": ["B7", "B3", "B2", "B1", "B0"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B7", "breathing": true |