diff options
| author | Ryan <fauxpark@gmail.com> | 2023-02-14 18:39:41 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-14 00:39:41 -0700 |
| commit | 2cdf99ae950a82e233482347651b7689c4896827 (patch) | |
| tree | f26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/winry | |
| parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) | |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/winry')
| -rw-r--r-- | keyboards/winry/winry315/config.h | 12 | ||||
| -rw-r--r-- | keyboards/winry/winry315/info.json | 5 |
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 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | |||
| 7 | // Key matrix size. | ||
| 8 | #define MATRIX_ROWS 1 | ||
| 9 | #define MATRIX_COLS 24 | ||
| 10 | |||
| 11 | // Key pins (including encoder press switches). | ||
| 12 | // The NO_PIN entries are reserved for encoder rotation mappings. | ||
| 13 | #define DIRECT_PINS \ | ||
| 14 | { \ | ||
| 15 | { 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 } \ | ||
| 16 | } | ||
| 17 | |||
| 18 | // clang-format off | 6 | // clang-format off |
| 19 | 7 | ||
| 20 | // Encoder pins. | 8 | // 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 @@ | |||
| 10 | }, | 10 | }, |
| 11 | "processor": "atmega32u4", | 11 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 12 | "bootloader": "atmel-dfu", |
| 13 | "matrix_pins": { | ||
| 14 | "direct": [ | ||
| 15 | ["F4", "C7", "D4", "D5", "D1", "F5", "C6", "D6", "D3", "D2", "F6", "B6", "D7", "B4", "B5", "B2", "D0", "E6", null, null, null, null, null, null] | ||
| 16 | ] | ||
| 17 | }, | ||
| 13 | "layout_aliases": { | 18 | "layout_aliases": { |
| 14 | "LAYOUT_all": "LAYOUT_top" | 19 | "LAYOUT_all": "LAYOUT_top" |
| 15 | }, | 20 | }, |
