summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authormechmerlin <mechmerlin@gmail.com>2018-04-06 00:35:38 +0200
committerJack Humbert <jack.humb@gmail.com>2018-04-06 01:15:50 +0200
commit7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 (patch)
tree366176b1221834d884065d29331f454d45d5b1c8 /quantum
parent0d0664a2149d93d1898615cfa5e02a9c2110345f (diff)
downloadqmk_firmware-7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9.tar.gz
qmk_firmware-7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9.tar.xz
change KEYMAP to LAYOUT for all new keyboards made using this script
Diffstat (limited to 'quantum')
-rw-r--r--quantum/template/keymaps/default/keymap.c2
-rw-r--r--quantum/template/template.h2
2 files changed, 2 insertions, 2 deletions
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 \
) \