diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-16 22:39:56 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 21:22:22 +0300 |
commit | 617578399cf1a0fff70ceeb21d63a06524c801a3 (patch) | |
tree | 1b95829dbc159e6353f109131e7ea97fb6317709 /tests | |
parent | c588fca06cd63c440678d04806042b52ff8a5610 (diff) | |
download | qmk_firmware-617578399cf1a0fff70ceeb21d63a06524c801a3.tar.gz qmk_firmware-617578399cf1a0fff70ceeb21d63a06524c801a3.zip |
Add keymap
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/config.h | 2 | ||||
-rw-r--r-- | tests/basic/test.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/basic/config.h b/tests/basic/config.h index c5578b83f..4da8d0425 100644 --- a/tests/basic/config.h +++ b/tests/basic/config.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #ifndef TESTS_BASIC_CONFIG_H_ | 17 | #ifndef TESTS_BASIC_CONFIG_H_ |
18 | #define TESTS_BASIC_CONFIG_H_ | 18 | #define TESTS_BASIC_CONFIG_H_ |
19 | 19 | ||
20 | #define MATRIX_ROWS 1 | 20 | #define MATRIX_ROWS 2 |
21 | #define MATRIX_COLS 2 | 21 | #define MATRIX_COLS 2 |
22 | 22 | ||
23 | 23 | ||
diff --git a/tests/basic/test.c b/tests/basic/test.c index 01d1930ea..2afb4d6a9 100644 --- a/tests/basic/test.c +++ b/tests/basic/test.c | |||
@@ -14,4 +14,11 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "quantum.h" | ||
17 | 18 | ||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | [0] = { | ||
21 | {KC_A, KC_B}, | ||
22 | {KC_C, KC_D} | ||
23 | }, | ||
24 | }; | ||