X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fkeebio%2Fbdn9%2Fconfig.h;h=641dc5736194680586bb311f9a708ec55094f6f6;hb=f6c7e114260890292dcd12645db7fecd64167973;hp=23b92b6cee423484efe847b1d912da7df0b4df29;hpb=b2ee290c9f506e42dd9c4577c8147646c405aeb0;p=qmk_firmware.git diff --git a/keyboards/keebio/bdn9/config.h b/keyboards/keebio/bdn9/config.h index 23b92b6ce..641dc5736 100644 --- a/keyboards/keebio/bdn9/config.h +++ b/keyboards/keebio/bdn9/config.h @@ -28,17 +28,16 @@ along with this program. If not, see . #define DESCRIPTION 3x3 Macropad with Rotary Encoders /* key matrix size */ -#define MATRIX_ROWS 1 -#define MATRIX_COLS 9 +#define MATRIX_ROWS 3 +#define MATRIX_COLS 3 /* Keyboard Matrix Assignments */ -#define MATRIX_ROW_PINS { NO_PIN } -#define MATRIX_COL_PINS { D2, D4, F4, D7, B1, B3, E6, B4, B2 } +#define DIRECT_PINS { \ + { D2, D4, F4 }, \ + { D7, B1, B3 }, \ + { E6, B4, B2 } \ +} -/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ -#define DIODE_DIRECTION COL2ROW - -#define NUMBER_OF_ENCODERS 2 #define ENCODERS_PAD_A { D1, F5 } #define ENCODERS_PAD_B { D0, F6 } @@ -60,7 +59,7 @@ along with this program. If not, see . #endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCING_DELAY 5 +#define DEBOUNCE 5 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE