diff options
author | Ryan <[email protected]> | 2023-03-11 00:32:05 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-11 00:32:05 +1100 |
commit | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch) | |
tree | f25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/handwired/pteron | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) | |
download | qmk_firmware-76cc7fe109d66c1e0ac16b27b2f691e7d55792d3.tar.gz qmk_firmware-76cc7fe109d66c1e0ac16b27b2f691e7d55792d3.zip |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/pteron')
-rw-r--r-- | keyboards/handwired/pteron/config.h | 9 | ||||
-rw-r--r-- | keyboards/handwired/pteron/info.json | 5 |
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/handwired/pteron/config.h b/keyboards/handwired/pteron/config.h deleted file mode 100644 index 61e8611e24..0000000000 --- a/keyboards/handwired/pteron/config.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - - -/* key matrix pins */ -#define MATRIX_ROW_PINS { D7, E6, B4, B5, B6 } -#define MATRIX_COL_PINS { F4, F6, F5, F7, B1, B3, C6, D4, D0, D1, D2, D3 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL diff --git a/keyboards/handwired/pteron/info.json b/keyboards/handwired/pteron/info.json index b21d12c9f9..94dbc9dcfc 100644 --- a/keyboards/handwired/pteron/info.json +++ b/keyboards/handwired/pteron/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F4", "F6", "F5", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2", "D3"], + "rows": ["D7", "E6", "B4", "B5", "B6"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "caterina", "layouts": { |