diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-27 00:13:21 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-08 21:59:51 -0400 |
commit | 72c8df1f190d34d4eb48e9f06d13c9a4de566716 (patch) | |
tree | 2f8599a7aeff25d90be729159d556622d9a373d8 /tests/basic/keymap.c | |
parent | 1e4cc36e14d711d2fc755354f9b6fd80c9728882 (diff) | |
download | firmware-72c8df1f190d34d4eb48e9f06d13c9a4de566716.tar.gz firmware-72c8df1f190d34d4eb48e9f06d13c9a4de566716.tar.bz2 firmware-72c8df1f190d34d4eb48e9f06d13c9a4de566716.zip |
A bigger test matrix, and test for unmapped keys
Diffstat (limited to 'tests/basic/keymap.c')
-rw-r--r-- | tests/basic/keymap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/basic/keymap.c b/tests/basic/keymap.c index 2afb4d6a9..c0e0dfb49 100644 --- a/tests/basic/keymap.c +++ b/tests/basic/keymap.c @@ -16,9 +16,13 @@ #include "quantum.h" +// Don't rearrange keys as existing tests might rely on the order +// Col2, Row 0 has to be KC_NO, because tests rely on it const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = { - {KC_A, KC_B}, - {KC_C, KC_D} + {KC_A, KC_B, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, + {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, + {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, + {KC_C, KC_D, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, }, }; |