summaryrefslogtreecommitdiffstats
path: root/keyboards/akegata_denki
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 05:41:58 +1100
committerGitHub <noreply@github.com>2023-03-11 05:41:58 +1100
commite933e0411f442fa411d3d5ec488180fee241e2ef (patch)
treef091f00a1408d752389385ff793c2878ec99e368 /keyboards/akegata_denki
parent1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff)
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/akegata_denki')
-rw-r--r--keyboards/akegata_denki/device_one/config.h7
-rw-r--r--keyboards/akegata_denki/device_one/info.json7
2 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/akegata_denki/device_one/config.h b/keyboards/akegata_denki/device_one/config.h
deleted file mode 100644
index dc1e1cded3..0000000000
--- a/keyboards/akegata_denki/device_one/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-
-#define MATRIX_ROW_PINS { B1, B0, A9, A8, A0 }
-#define MATRIX_COL_PINS { A2, A3, A4, A5, A6, A7, A1, A10, A15, B3, B4, B5, B6, B7, B8}
-
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/akegata_denki/device_one/info.json b/keyboards/akegata_denki/device_one/info.json
index a00144adf7..59449c4754 100644
--- a/keyboards/akegata_denki/device_one/info.json
+++ b/keyboards/akegata_denki/device_one/info.json
@@ -6,7 +6,12 @@
"vid": "0xFEED",
"pid": "0xADD0",
"device_version": "0.0.1"
- },
+ },
+ "matrix_pins": {
+ "cols": ["A2", "A3", "A4", "A5", "A6", "A7", "A1", "A10", "A15", "B3", "B4", "B5", "B6", "B7", "B8"],
+ "rows": ["B1", "B0", "A9", "A8", "A0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F042",
"bootloader": "stm32-dfu",
"board": "ST_NUCLEO32_F042K6",