aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormechmerlin <mechmerlin@gmail.com>2018-04-05 15:35:38 -0700
committerJack Humbert <jack.humb@gmail.com>2018-04-05 19:15:50 -0400
commit7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 (patch)
tree366176b1221834d884065d29331f454d45d5b1c8
parent0d0664a2149d93d1898615cfa5e02a9c2110345f (diff)
downloadqmk_firmware-7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9.tar.gz
qmk_firmware-7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9.zip
change KEYMAP to LAYOUT for all new keyboards made using this script
-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 @@
16#include "%KEYBOARD%.h" 16#include "%KEYBOARD%.h"
17 17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19[0] = KEYMAP( /* Base */ 19[0] = LAYOUT( /* Base */
20 KC_A, KC_1, KC_H, \ 20 KC_A, KC_1, KC_H, \
21 KC_TAB, KC_SPC \ 21 KC_TAB, KC_SPC \
22), 22),
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 @@
22// The following is an example using the Planck MIT layout 22// The following is an example using the Planck MIT layout
23// The first section contains all of the arguments 23// The first section contains all of the arguments
24// The second converts the arguments into a two-dimensional array 24// The second converts the arguments into a two-dimensional array
25#define KEYMAP( \ 25#define LAYOUT( \
26 k00, k01, k02, \ 26 k00, k01, k02, \
27 k10, k11 \ 27 k10, k11 \
28) \ 28) \