diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-06 09:53:52 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 22:53:52 +0000 |
commit | 23c365b023e409885e6f201f12df56e5145dde47 (patch) | |
tree | 062e72be726939d5f6ddda944facb423bbf386cf /keyboards/qpockets/space_space/rev2 | |
parent | b34d51d08d7083fc790db2562a4d39890f34886f (diff) |
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/qpockets/space_space/rev2')
-rw-r--r-- | keyboards/qpockets/space_space/rev2/config.h | 10 | ||||
-rw-r--r-- | keyboards/qpockets/space_space/rev2/info.json | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/qpockets/space_space/rev2/config.h b/keyboards/qpockets/space_space/rev2/config.h index 26b85360c4..53e42221c9 100644 --- a/keyboards/qpockets/space_space/rev2/config.h +++ b/keyboards/qpockets/space_space/rev2/config.h @@ -16,16 +16,6 @@ #pragma once - -#define MATRIX_ROW_PINS \ - { B1, B0, D5, B6 } -#define MATRIX_COL_PINS \ - { C6, F6, F1, F4, F5, E6, D6, B2, B5, D3, D2 } - - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define LOCKING_SUPPORT_ENABLE #define RGB_DI_PIN F0 diff --git a/keyboards/qpockets/space_space/rev2/info.json b/keyboards/qpockets/space_space/rev2/info.json index 580ab0a4d5..aa99956be9 100644 --- a/keyboards/qpockets/space_space/rev2/info.json +++ b/keyboards/qpockets/space_space/rev2/info.json @@ -8,6 +8,11 @@ "pid": "0x7373", "device_version": "30.0.2" }, + "matrix_pins": { + "cols": ["C6", "F6", "F1", "F4", "F5", "E6", "D6", "B2", "B5", "D3", "D2"], + "rows": ["B1", "B0", "D5", "B6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B4", "pin_b": "D7", "resolution": 3}, |