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/misterknife | |
parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/misterknife')
-rw-r--r-- | keyboards/misterknife/knife66/config.h | 5 | ||||
-rw-r--r-- | keyboards/misterknife/knife66/info.json | 5 | ||||
-rw-r--r-- | keyboards/misterknife/knife66_iso/config.h | 5 | ||||
-rw-r--r-- | keyboards/misterknife/knife66_iso/info.json | 5 |
4 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/misterknife/knife66/config.h b/keyboards/misterknife/knife66/config.h index 1021ddf951..4efe1466c6 100644 --- a/keyboards/misterknife/knife66/config.h +++ b/keyboards/misterknife/knife66/config.h @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_COL_PINS { B2, B1, B0, A7, A6, A5, A4, B9, B8, B7, B6, B5, B4, B3, A15 } -#define MATRIX_ROW_PINS { B15, A8, A3, A2, A1 } -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN A9 #ifdef RGB_DI_PIN diff --git a/keyboards/misterknife/knife66/info.json b/keyboards/misterknife/knife66/info.json index 4a7bc23c35..e019cf6ae8 100644 --- a/keyboards/misterknife/knife66/info.json +++ b/keyboards/misterknife/knife66/info.json @@ -8,6 +8,11 @@ "pid": "0x4172", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], + "rows": ["B15", "A8", "A3", "A2", "A1"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/misterknife/knife66_iso/config.h b/keyboards/misterknife/knife66_iso/config.h index 4974254844..d13ee6a334 100644 --- a/keyboards/misterknife/knife66_iso/config.h +++ b/keyboards/misterknife/knife66_iso/config.h @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_COL_PINS { B2, B1, B0, A7, A6, A5, A4, B9, B8, B7, B6, B5, B4, B3, A15 } -#define MATRIX_ROW_PINS { B15, A8, A3, A2, A1 } -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN A9 #ifdef RGB_DI_PIN diff --git a/keyboards/misterknife/knife66_iso/info.json b/keyboards/misterknife/knife66_iso/info.json index b3c84a65bc..a1658c460b 100644 --- a/keyboards/misterknife/knife66_iso/info.json +++ b/keyboards/misterknife/knife66_iso/info.json @@ -8,6 +8,11 @@ "pid": "0x4173", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], + "rows": ["B15", "A8", "A3", "A2", "A1"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { |