diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:39:56 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:39:56 +1100 |
commit | caa8c81086a806ea048c91ba142d424dc6a49f50 (patch) | |
tree | 824de64449d9cfaeba176288d379a282c733ae1a /keyboards/mtbkeys/mtb60/hotswap | |
parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/mtbkeys/mtb60/hotswap')
-rw-r--r-- | keyboards/mtbkeys/mtb60/hotswap/config.h | 8 | ||||
-rw-r--r-- | keyboards/mtbkeys/mtb60/hotswap/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h index a1b98373b4..114c8feab4 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/config.h +++ b/keyboards/mtbkeys/mtb60/hotswap/config.h @@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* key matrix pinout */ -#define MATRIX_ROW_PINS { D6, D7, B4, B5, D5 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, B7, B6, F7, C6, C7, F6, F4, F1, F0, F5, E6 } - -/* diode direction: COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - /* Pin WS2812 RGB LEDs are connected to */ #define RGB_DI_PIN D4 diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json index 6f5da086d0..d2ece9ff7f 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/info.json +++ b/keyboards/mtbkeys/mtb60/hotswap/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D0", "D1", "D2", "D3", "B7", "B6", "F7", "C6", "C7", "F6", "F4", "F1", "F0", "F5", "E6"], + "rows": ["D6", "D7", "B4", "B5", "D5"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { |