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

keycode_versioning
mechmerlin 7 years ago committed by Jack Humbert
parent 0d0664a214
commit 7bbc9ccc31

@ -16,7 +16,7 @@
#include "%KEYBOARD%.h" #include "%KEYBOARD%.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = KEYMAP( /* Base */ [0] = LAYOUT( /* Base */
KC_A, KC_1, KC_H, \ KC_A, KC_1, KC_H, \
KC_TAB, KC_SPC \ KC_TAB, KC_SPC \
), ),

@ -22,7 +22,7 @@
// The following is an example using the Planck MIT layout // The following is an example using the Planck MIT layout
// The first section contains all of the arguments // The first section contains all of the arguments
// The second converts the arguments into a two-dimensional array // The second converts the arguments into a two-dimensional array
#define KEYMAP( \ #define LAYOUT( \
k00, k01, k02, \ k00, k01, k02, \
k10, k11 \ k10, k11 \
) \ ) \

Loading…
Cancel
Save