diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:00:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:00:24 +1100 |
commit | 9e64300e67720a5468c2585391250ca5579b311b (patch) | |
tree | d8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/pisces | |
parent | dd086a51d82a574a55eb3b89e8943301d72296f3 (diff) |
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/pisces')
-rw-r--r-- | keyboards/pisces/config.h | 16 | ||||
-rw-r--r-- | keyboards/pisces/info.json | 5 |
2 files changed, 5 insertions, 16 deletions
diff --git a/keyboards/pisces/config.h b/keyboards/pisces/config.h index 01210f2a0f..4cb5aaf54e 100644 --- a/keyboards/pisces/config.h +++ b/keyboards/pisces/config.h @@ -21,22 +21,6 @@ #define MATRIX_MASKED #define SPLIT_USB_DETECT -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { C4, B0, C7 } -#define MATRIX_COL_PINS { B1, B2, B3, B4, B5, B6, B7 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/pisces/info.json b/keyboards/pisces/info.json index e7243bfc8d..f1d548a8a0 100644 --- a/keyboards/pisces/info.json +++ b/keyboards/pisces/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B1", "B2", "B3", "B4", "B5", "B6", "B7"], + "rows": ["C4", "B0", "C7"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D2" }, |