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/bdn9/rev1 | |
parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/keebio/bdn9/rev1')
-rw-r--r-- | keyboards/keebio/bdn9/rev1/config.h | 12 | ||||
-rw-r--r-- | keyboards/keebio/bdn9/rev1/info.json | 9 |
2 files changed, 8 insertions, 13 deletions
diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index f075302e87..d34d9756f9 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/rev1/config.h @@ -17,18 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 3 - -/* Keyboard Matrix Assignments */ -#define DIRECT_PINS { \ - { D2, D4, F4 }, \ - { D7, B1, B3 }, \ - { E6, B4, B2 } \ -} - #define ENCODERS_PAD_A { D0, F6, B6 } #define ENCODERS_PAD_B { D1, F5, F7 } diff --git a/keyboards/keebio/bdn9/rev1/info.json b/keyboards/keebio/bdn9/rev1/info.json index a308d1c87c..e5dea50260 100644 --- a/keyboards/keebio/bdn9/rev1/info.json +++ b/keyboards/keebio/bdn9/rev1/info.json @@ -5,5 +5,12 @@ "device_version": "1.0.0" }, "processor": "atmega32u4", - "bootloader": "caterina" + "bootloader": "caterina", + "matrix_pins": { + "direct": [ + ["D2", "D4", "F4"], + ["D7", "B1", "B3"], + ["E6", "B4", "B2"] + ] + } } |