1
0
Fork 0

Add new DIODE_DIRECTION option

The previous two options were COL2ROW, ROW2COL; this adds CUSTOM_MATRIX
to disable the built-in matrix scanning code.

Most notably, this obviates the need to set MATRIX_ROW_PINS or
MATRIX_COL_PINS.
This commit is contained in:
Nikolaus Wittenstein 2017-02-05 19:42:00 -05:00
parent d961c80df2
commit 8cbf61c919
3 changed files with 12 additions and 8 deletions

View file

@ -2,8 +2,10 @@
#define CONFIG_DEFINITIONS_H
/* diode directions */
#define COL2ROW 0
#define ROW2COL 1
#define COL2ROW 0
#define ROW2COL 1
#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */
/* I/O pins */
#ifndef F0
#define B0 0x30