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/jian/rev2 | |
parent | b34d51d08d7083fc790db2562a4d39890f34886f (diff) |
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/jian/rev2')
-rw-r--r-- | keyboards/jian/rev2/config.h | 7 | ||||
-rw-r--r-- | keyboards/jian/rev2/info.json | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 37e8f0458d..92b15fab65 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once - -#define DIODE_DIRECTION COL2ROW - -// wiring of each half -#define MATRIX_ROW_PINS { F4, F5, B1, B3 } -#define MATRIX_COL_PINS { D3, D2, B4, F6, F7, B2 } - //#define EE_HANDS #define SPLIT_HAND_PIN E6 diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index 642bf83efc..6cae5556e2 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json @@ -3,6 +3,11 @@ "usb": { "device_version": "2.0.0" }, + "matrix_pins": { + "cols": ["D3", "D2", "B4", "F6", "F7", "B2"], + "rows": ["F4", "F5", "B1", "B3"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "C6", "levels": 5 |