Always reset to known good defaults
This commit is contained in:
parent
7f46b4df9f
commit
420c082205
|
@ -1,7 +1,6 @@
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
// #define PERMISSIVE_HOLD
|
// #define PERMISSIVE_HOLD
|
||||||
#define HOLD_ON_OTHER_KEY_PRESS
|
#define HOLD_ON_OTHER_KEY_PRESS
|
||||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_RAINBOW_MOOD+1
|
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN // Sets the default mode, if none has been set
|
||||||
|
|
||||||
#define SPLIT_LAYER_STATE_ENABLE
|
#define SPLIT_LAYER_STATE_ENABLE
|
||||||
#define SPLIT_LED_STATE_ENABLE
|
#define SPLIT_LED_STATE_ENABLE
|
||||||
|
|
|
@ -71,13 +71,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[LC] = LAYOUT(
|
[LC] = LAYOUT(
|
||||||
QK_BOOT, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, _______, _______, QK_BOOT,
|
QK_BOOT, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, _______, _______, QK_BOOT,
|
||||||
_______, _______, _______, _______, _______, RGB_MOD, _______, _______, _______, _______, _______, _______,
|
QK_RBT, _______, _______, _______, _______, RGB_MOD, _______, _______, _______, _______, _______, QK_RBT,
|
||||||
_______, _______, _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, DF(LQ), RGB_TOG, _______, DF(LG), DF(LRG)
|
_______, DF(LQ), RGB_TOG, _______, DF(LG), DF(LRG)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void keyboard_post_init_user(void) {
|
||||||
|
set_single_persistent_default_layer(LQ);
|
||||||
|
rgblight_mode(RGB_MATRIX_STARTUP_MODE);
|
||||||
|
}
|
||||||
|
|
||||||
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||||
uint8_t layer = get_highest_layer(layer_state | default_layer_state);
|
uint8_t layer = get_highest_layer(layer_state | default_layer_state);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue