summaryrefslogtreecommitdiff
path: root/keyboards/winry
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/winry
parent1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff)
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/winry')
-rw-r--r--keyboards/winry/winry25tc/config.h6
-rw-r--r--keyboards/winry/winry25tc/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/winry/winry25tc/config.h b/keyboards/winry/winry25tc/config.h
index f67f725ef6..90e70999b6 100644
--- a/keyboards/winry/winry25tc/config.h
+++ b/keyboards/winry/winry25tc/config.h
@@ -16,12 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS { E6, F0, D6, D2, B6 }
-#define MATRIX_COL_PINS { F5, C7, B7, B2, B4 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN D5
#define RGBLED_NUM 40
#define RGBLIGHT_HUE_STEP 8
diff --git a/keyboards/winry/winry25tc/info.json b/keyboards/winry/winry25tc/info.json
index 4cbb746408..0391d278b9 100644
--- a/keyboards/winry/winry25tc/info.json
+++ b/keyboards/winry/winry25tc/info.json
@@ -8,6 +8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F5", "C7", "B7", "B2", "B4"],
+ "rows": ["E6", "F0", "D6", "D2", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {