mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-09 15:12:33 +00:00
Merge branch 'firmware25' into feat/moonlander-revb
This commit is contained in:
@@ -105,6 +105,10 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
mcp23018_errors = mcp23018_init_local(false);
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
rgb_matrix_init();
|
||||
// Required to recover the solid color mode
|
||||
if (rgb_matrix_get_mode() == 1) {
|
||||
rgb_matrix_set_color_all(255, 255, 255);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,6 +92,10 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
mcp23018_errors = mcp23018_init_local(false);
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
rgb_matrix_init();
|
||||
// Required to recover the solid color mode
|
||||
if (rgb_matrix_get_mode() == 1) {
|
||||
rgb_matrix_set_color_all(255, 255, 255);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,9 +320,6 @@ void auto_mouse_reset_trigger(bool pressed) {
|
||||
#ifdef LAYER_LOCK_ENABLE
|
||||
if(is_layer_locked(AUTO_MOUSE_DEFAULT_LAYER)) return;
|
||||
#endif
|
||||
if (layer_state_is((AUTO_MOUSE_TARGET_LAYER))) {
|
||||
layer_off((AUTO_MOUSE_TARGET_LAYER));
|
||||
};
|
||||
auto_mouse_reset();
|
||||
}
|
||||
auto_mouse_context.timer.delay = timer_read();
|
||||
|
||||
Reference in New Issue
Block a user