From 7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 Mon Sep 17 00:00:00 2001 From: mechmerlin Date: Thu, 5 Apr 2018 15:35:38 -0700 Subject: change KEYMAP to LAYOUT for all new keyboards made using this script --- quantum/template/keymaps/default/keymap.c | 2 +- quantum/template/template.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'quantum/template') diff --git a/quantum/template/keymaps/default/keymap.c b/quantum/template/keymaps/default/keymap.c index a123cd7ba..508b4c79b 100644 --- a/quantum/template/keymaps/default/keymap.c +++ b/quantum/template/keymaps/default/keymap.c @@ -16,7 +16,7 @@ #include "%KEYBOARD%.h" const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = KEYMAP( /* Base */ +[0] = LAYOUT( /* Base */ KC_A, KC_1, KC_H, \ KC_TAB, KC_SPC \ ), diff --git a/quantum/template/template.h b/quantum/template/template.h index 7e2b14f3c..c24bb1650 100644 --- a/quantum/template/template.h +++ b/quantum/template/template.h @@ -22,7 +22,7 @@ // The following is an example using the Planck MIT layout // The first section contains all of the arguments // The second converts the arguments into a two-dimensional array -#define KEYMAP( \ +#define LAYOUT( \ k00, k01, k02, \ k10, k11 \ ) \ -- cgit v1.2.3-24-g4f1b