Use DIRECT_PINS for BDN9 (#5603)

This commit is contained in:
kaylanm 2019-04-11 15:24:29 -04:00 committed by MechMerlin
parent 0137b02319
commit c78bc6a2fe
2 changed files with 10 additions and 8 deletions

View file

@ -31,5 +31,7 @@
KC1, KC2, KC3 \
) \
{ \
{ KA1, KA2, KA3, KB1, KB2, KB3, KC1, KC2, KC3 } \
{ KA1, KA2, KA3 }, \
{ KB1, KB2, KB3 }, \
{ KC1, KC2, KC3 } \
}

View file

@ -28,15 +28,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define DIRECT_PINS { \
{ D2, D4, F4 }, \
{ D7, B1, B3 }, \
{ E6, B4, B2 } \
}
#define NUMBER_OF_ENCODERS 2
#define ENCODERS_PAD_A { D1, F5 }