Browse Source

change KEYMAP to LAYOUT for all new keyboards made using this script

mechmerlin 7 years ago
parent
commit
7bbc9ccc31
2 changed files with 2 additions and 2 deletions
  1. 1 1
      quantum/template/keymaps/default/keymap.c
  2. 1 1
      quantum/template/template.h

+ 1 - 1
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   \
 ),

+ 1 - 1
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   \
 ) \