summaryrefslogtreecommitdiff
path: root/keyboards/winry
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/winry')
-rw-r--r--keyboards/winry/winry315/config.h12
-rw-r--r--keyboards/winry/winry315/info.json5
2 files changed, 5 insertions, 12 deletions
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h
index e43016f62b..5d195be432 100644
--- a/keyboards/winry/winry315/config.h
+++ b/keyboards/winry/winry315/config.h
@@ -3,18 +3,6 @@
#pragma once
-
-// Key matrix size.
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 24
-
-// Key pins (including encoder press switches).
-// The NO_PIN entries are reserved for encoder rotation mappings.
-#define DIRECT_PINS \
- { \
- { F4, C7, D4, D5, D1, F5, C6, D6, D3, D2, F6, B6, D7, B4, B5, B2, D0, E6, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } \
- }
-
// clang-format off
// Encoder pins.
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json
index 7740c1a3e8..5abc92a455 100644
--- a/keyboards/winry/winry315/info.json
+++ b/keyboards/winry/winry315/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["F4", "C7", "D4", "D5", "D1", "F5", "C6", "D6", "D3", "D2", "F6", "B6", "D7", "B4", "B5", "B2", "D0", "E6", null, null, null, null, null, null]
+ ]
+ },
"layout_aliases": {
"LAYOUT_all": "LAYOUT_top"
},