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/bamfk1 | |
parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/keebio/bamfk1')
-rw-r--r-- | keyboards/keebio/bamfk1/config.h | 13 | ||||
-rw-r--r-- | keyboards/keebio/bamfk1/info.json | 6 |
2 files changed, 6 insertions, 13 deletions
diff --git a/keyboards/keebio/bamfk1/config.h b/keyboards/keebio/bamfk1/config.h index 6836443389..de8b594cec 100644 --- a/keyboards/keebio/bamfk1/config.h +++ b/keyboards/keebio/bamfk1/config.h @@ -3,19 +3,6 @@ #pragma once - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -/* - * Keyboard Matrix Assignments - */ - -#define DIRECT_PINS { \ - { E6, B6, D6, NO_PIN }, \ - { NO_PIN, NO_PIN, NO_PIN, NO_PIN } \ -} #define AUDIO_PIN C6 #ifdef AUDIO_ENABLE # define STARTUP_SONG SONG(STARTUP_SOUND) diff --git a/keyboards/keebio/bamfk1/info.json b/keyboards/keebio/bamfk1/info.json index fb16f585bb..9390f7d56f 100644 --- a/keyboards/keebio/bamfk1/info.json +++ b/keyboards/keebio/bamfk1/info.json @@ -10,6 +10,12 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "matrix_pins": { + "direct": [ + ["E6", "B6", "D6", null], + [null, null, null, null] + ] + }, "layouts": { "LAYOUT": { "layout": [ |