Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DIRECT_PINS for BDN9 #5603

Merged
merged 1 commit into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion keyboards/keebio/bdn9/bdn9.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 } \
}
14 changes: 7 additions & 7 deletions keyboards/keebio/bdn9/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down