diff options
author | Ryan <[email protected]> | 2023-03-11 00:39:56 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-11 00:39:56 +1100 |
commit | caa8c81086a806ea048c91ba142d424dc6a49f50 (patch) | |
tree | 824de64449d9cfaeba176288d379a282c733ae1a /keyboards/massdrop/thekey_v2 | |
parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) | |
download | qmk_firmware-caa8c81086a806ea048c91ba142d424dc6a49f50.tar.gz qmk_firmware-caa8c81086a806ea048c91ba142d424dc6a49f50.zip |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/massdrop/thekey_v2')
-rw-r--r-- | keyboards/massdrop/thekey_v2/config.h | 9 | ||||
-rw-r--r-- | keyboards/massdrop/thekey_v2/info.json | 5 |
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/massdrop/thekey_v2/config.h b/keyboards/massdrop/thekey_v2/config.h index 3f7dc30ac1..d26d586264 100644 --- a/keyboards/massdrop/thekey_v2/config.h +++ b/keyboards/massdrop/thekey_v2/config.h @@ -16,15 +16,6 @@ #pragma once - -/* - * Keyboard Matrix Assignments - */ -#define MATRIX_ROW_PINS { D4 } -#define MATRIX_COL_PINS { D2, D1, D0 } - -#define DIODE_DIRECTION ROW2COL - #define RGB_DI_PIN B1 #define RGBLED_NUM 5 #define RGBLIGHT_LED_MAP {4, 0, 1, 2, 3} diff --git a/keyboards/massdrop/thekey_v2/info.json b/keyboards/massdrop/thekey_v2/info.json index 19ae416b6e..01604e6f2e 100644 --- a/keyboards/massdrop/thekey_v2/info.json +++ b/keyboards/massdrop/thekey_v2/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["D2", "D1", "D0"], + "rows": ["D4"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |