qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 80a40807e36d89e722e9b80830d216ac3d41dfcb
parent 1cdaedbedf828301b4d881e6ecdc28f136731b4e
Author: Drashna Jaelre <drashna@live.com>
Date:   Mon, 24 Jun 2019 09:22:05 -0700

[Keyboard] Add idle/wakeup function calls to Ergodox EZ (#6173)


Diffstat:
keyboards/ergodox_ez/ergodox_ez.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/keyboards/ergodox_ez/ergodox_ez.c b/keyboards/ergodox_ez/ergodox_ez.c @@ -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