[Keyboard] Add idle/wakeup function calls to Ergodox EZ (#6173)
This commit is contained in:
parent
1cdaedbedf
commit
80a40807e3
1 changed files with 10 additions and 0 deletions
|
@ -304,4 +304,14 @@ led_config_t g_led_config = { {
|
||||||
4, 4, 1, 1, 1, 1
|
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
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue