refactor layer names
This commit is contained in:
parent
f84f3e9172
commit
6115cb3f30
|
@ -1,7 +1,7 @@
|
|||
// This file contains user defined aliases
|
||||
|
||||
// Layers
|
||||
#define EXTEND MO(_EXTEND)
|
||||
#define EXTEND MO(L_EXTEND)
|
||||
|
||||
// One Shot Keys
|
||||
#define OS_LCTL OSM(MOD_LCTL)
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
/* Define our layers */
|
||||
enum layers {
|
||||
// Our default layouts
|
||||
_QWERTY,
|
||||
_CANARY,
|
||||
L_QWERTY,
|
||||
L_CANARY,
|
||||
// Layouts that enable extra functionality
|
||||
_EXTEND,
|
||||
L_EXTEND,
|
||||
};
|
||||
|
||||
/* Customise our keymaps */
|
||||
|
@ -47,7 +47,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*
|
||||
*/
|
||||
[_QWERTY] = LAYOUT_ansi_61(
|
||||
[L_QWERTY] = LAYOUT_ansi_61(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
|
||||
EXTEND, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
|
||||
|
@ -73,7 +73,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*
|
||||
*/
|
||||
[_CANARY] = LAYOUT_ansi_61(
|
||||
[L_CANARY] = LAYOUT_ansi_61(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
|
||||
KC_TAB, KC_W, KC_L, KC_Y, KC_P, KC_K, KC_Z, KC_X, KC_O, KC_U, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS,
|
||||
EXTEND, KC_C, KC_R, KC_S, KC_T, KC_B, KC_F, KC_N, KC_E, KC_I, KC_A, KC_QUOT, KC_ENT,
|
||||
|
@ -99,7 +99,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*
|
||||
*/
|
||||
[_EXTEND] = LAYOUT_ansi_61(
|
||||
[L_EXTEND] = LAYOUT_ansi_61(
|
||||
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_SLEP,
|
||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
XXXXXXX, OS_LGUI, OS_LALT, OS_LSFT, OS_LCTL, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL, XXXXXXX,
|
||||
|
|
Loading…
Reference in a new issue