*/
// If it accepts an argument (i.e, is a function), it doesn't need KC_.
// Otherwise, it needs KC_*
- [QWERTY] = KEYMAP( // layer 0 : default
+ [QWERTY] = LAYOUT_ergodox( // layer 0 : default
// left hand
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC,
* | | | | | | | |
* `--------------------' `--------------------'
*/
- [NUMS] = KEYMAP(
+ [NUMS] = LAYOUT_ergodox(
// left hand
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
LGUI(KC_GRV),KC_GRV, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,
* | | | | | | | |
* `--------------------' `--------------------'
*/
- [MOVE] = KEYMAP(
+ [MOVE] = LAYOUT_ergodox(
// left hand
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
KC_TRNS,KC_TRNS,VIM_W, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
/* Keymap: AFK Layer
* All keys wake
*/
- [AFK] = KEYMAP(
+ [AFK] = LAYOUT_ergodox(
// left hand
BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,
BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,BF_WAKE,
),
};
+#ifdef RGBLIGHT_ENABLE
/*
* Led Configuration
*/
bf_set_led(currentLayer);
};
};
+#endif
/*
* Custom keycodes
SEND_STRING(" ");
}
return false; break;
+ #ifdef RGBLIGHT_ENABLE
case BF_NUMS:
mod_layer_with_rgb(record, NUMS);
return false; break;
case BF_MOVE:
mod_layer_with_rgb(record, MOVE);
return false; break;
+ #endif
}
return true;
* Active Routines
*/
void matrix_init_user(void) {
+#ifdef RGBLIGHT_ENABLE
bf_set_led(QWERTY);
+#endif
};
// Runs constantly in the background, in a loop.