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/keebio/stick | |
parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/keebio/stick')
-rw-r--r-- | keyboards/keebio/stick/config.h | 13 | ||||
-rw-r--r-- | keyboards/keebio/stick/info.json | 5 |
2 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/keebio/stick/config.h b/keyboards/keebio/stick/config.h index bc4e214c20..807383befc 100644 --- a/keyboards/keebio/stick/config.h +++ b/keyboards/keebio/stick/config.h @@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* key matrix size */ -#define MATRIX_ROWS 1 -#define MATRIX_COLS 12 - -/* key matrix pins */ -#define DIRECT_PINS { \ - { F4, B6, B5, B4, E6, D7, F6, F7, B1, B3, B2, F5 } \ -} - #define ENCODERS_PAD_A { D1, D4 } #define ENCODERS_PAD_B { D0, C6 } @@ -103,7 +93,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # endif #endif -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - #define TAPPING_TERM 200 diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/info.json index c247e3ae99..ff91ee9f24 100644 --- a/keyboards/keebio/stick/info.json +++ b/keyboards/keebio/stick/info.json @@ -10,6 +10,11 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "matrix_pins": { + "direct": [ + ["F4", "B6", "B5", "B4", "E6", "D7", "F6", "F7", "B1", "B3", "B2", "F5"] + ] + }, "layouts": { "LAYOUT": { "layout": [ |