diff options
author | mechmerlin <mechmerlin@gmail.com> | 2018-04-05 15:35:38 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-05 19:15:50 -0400 |
commit | 7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 (patch) | |
tree | 366176b1221834d884065d29331f454d45d5b1c8 /quantum | |
parent | 0d0664a2149d93d1898615cfa5e02a9c2110345f (diff) | |
download | qmk_firmware-7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9.tar.gz |
change KEYMAP to LAYOUT for all new keyboards made using this script
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/template/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | quantum/template/template.h | 2 |
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 \ ) \ |