]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
change KEYMAP to LAYOUT for all new keyboards made using this script
authormechmerlin <mechmerlin@gmail.com>
Thu, 5 Apr 2018 22:35:38 +0000 (15:35 -0700)
committerJack Humbert <jack.humb@gmail.com>
Thu, 5 Apr 2018 23:15:50 +0000 (19:15 -0400)
quantum/template/keymaps/default/keymap.c
quantum/template/template.h

index a123cd7bab531e212b41cac30526157217a2fcf3..508b4c79b526e6e4cd34ab377e18acdb925bb836 100644 (file)
@@ -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   \
 ),
index 7e2b14f3c106793ed09c7ef99771b2e24f93d08d..c24bb1650fbf834a6614be68a42ecf561759e437 100644 (file)
@@ -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   \
 ) \