[Keyboard] Add idle/wakeup function calls to Ergodox EZ (#6173)
This commit is contained in:
parent
1cdaedbedf
commit
80a40807e3
@ -304,4 +304,14 @@ led_config_t g_led_config = { {
|
||||
4, 4, 1, 1, 1, 1
|
||||
} };
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user