Add RGB Matrix suspend wake functions to BM40 (#12246) * Add suspend wake functions for RGB Matrix * Add suspension RGB functions to Planck/rev6 and Preonic/rev3 * Add suspend wake to Mark 65 * Revert changes to planck and preonic * Remove changes to The Mark65 Co-authored-by: filterpaper <filterpaper@localhost>
2 files changed, 14 insertions(+), 0 deletions(-) M keyboards/bm40hsrgb/bm40hsrgb.c M keyboards/bm40hsrgb/config.h
M keyboards/bm40hsrgb/bm40hsrgb.c => keyboards/bm40hsrgb/bm40hsrgb.c +11 -0
@@ 39,4 39,15 @@ led_config_t g_led_config = { 2, 2, 2, 2, 2, 2 } }; void suspend_power_down_kb(void) { rgb_matrix_set_suspend_state(true); suspend_power_down_user(); } void suspend_wakeup_init_kb(void) { rgb_matrix_set_suspend_state(false); suspend_wakeup_init_user(); } #endif
M keyboards/bm40hsrgb/config.h => keyboards/bm40hsrgb/config.h +3 -0