From: mechmerlin Date: Thu, 5 Apr 2018 22:35:38 +0000 (-0700) Subject: change KEYMAP to LAYOUT for all new keyboards made using this script X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9;p=qmk_firmware.git change KEYMAP to LAYOUT for all new keyboards made using this script --- 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 \ ) \