diff options
| author | Eric Tang <e_l_tang@outlook.com> | 2016-05-23 20:42:21 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-05-23 23:42:21 -0400 |
| commit | aaa758f1d3f97dda39879f2b055ad2da9680adfe (patch) | |
| tree | cb0749cda23c0507dd2b230af3eb0ca81a97b8af /keyboard/Bantam44/config.h | |
| parent | d66aa0abf96b5e887250cf0a7fa5e575f18c5a91 (diff) | |
| download | qmk_firmware-aaa758f1d3f97dda39879f2b055ad2da9680adfe.tar.gz qmk_firmware-aaa758f1d3f97dda39879f2b055ad2da9680adfe.zip | |
Optimize matrix scanning (#343)
Diffstat (limited to 'keyboard/Bantam44/config.h')
| -rw-r--r-- | keyboard/Bantam44/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboard/Bantam44/config.h b/keyboard/Bantam44/config.h index 26d680704..a55f62999 100644 --- a/keyboard/Bantam44/config.h +++ b/keyboard/Bantam44/config.h | |||
| @@ -35,8 +35,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | // Planck PCB default pin-out | 35 | // Planck PCB default pin-out |
| 36 | // Change this to how you wired your keyboard | 36 | // Change this to how you wired your keyboard |
| 37 | // COLS: Left to right, ROWS: Top to bottom | 37 | // COLS: Left to right, ROWS: Top to bottom |
| 38 | #define COLS (int []){ B0, B1, B2, B3, B7, D0, B6, F7, F6, F5, F4, F1 } | 38 | #define MATRIX_ROW_PINS { F0, D6, D4, D5 } |
| 39 | #define ROWS (int []){ F0, D6, D4, D5 } | 39 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D0, B6, F7, F6, F5, F4, F1 } |
| 40 | #define UNUSED_PINS | ||
| 40 | 41 | ||
| 41 | /* COL2ROW or ROW2COL */ | 42 | /* COL2ROW or ROW2COL */ |
| 42 | #define DIODE_DIRECTION COL2ROW | 43 | #define DIODE_DIRECTION COL2ROW |
| @@ -48,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define BACKLIGHT_LEVELS 3 | 49 | #define BACKLIGHT_LEVELS 3 |
| 49 | 50 | ||
| 50 | /* Set 0 if debouncing isn't needed */ | 51 | /* Set 0 if debouncing isn't needed */ |
| 51 | #define DEBOUNCE 5 | 52 | #define DEBOUNCING_DELAY 5 |
| 52 | 53 | ||
| 53 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 54 | #define LOCKING_SUPPORT_ENABLE | 55 | #define LOCKING_SUPPORT_ENABLE |
