aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-16 22:39:56 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-18 21:22:22 +0300
commit617578399cf1a0fff70ceeb21d63a06524c801a3 (patch)
tree1b95829dbc159e6353f109131e7ea97fb6317709 /tests
parentc588fca06cd63c440678d04806042b52ff8a5610 (diff)
downloadqmk_firmware-617578399cf1a0fff70ceeb21d63a06524c801a3.tar.gz
Add keymap
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/config.h2
-rw-r--r--tests/basic/test.c7
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 @@
#ifndef TESTS_BASIC_CONFIG_H_
#define TESTS_BASIC_CONFIG_H_
-#define MATRIX_ROWS 1
+#define MATRIX_ROWS 2
#define MATRIX_COLS 2
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 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "quantum.h"
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = {
+ {KC_A, KC_B},
+ {KC_C, KC_D}
+ },
+};