~ruther/qmk_firmware

7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 — mechmerlin 7 years ago 0d0664a
change KEYMAP to LAYOUT for all new keyboards made using this script
2 files changed, 2 insertions(+), 2 deletions(-)

M quantum/template/keymaps/default/keymap.c
M quantum/template/template.h
M quantum/template/keymaps/default/keymap.c => quantum/template/keymaps/default/keymap.c +1 -1
@@ 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   \
),

M quantum/template/template.h => quantum/template/template.h +1 -1
@@ 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   \
) \