underglow-layer: Don't save state on idle/resume & register activity on layer change

This commit is contained in:
darknao 2024-05-13 14:43:08 +02:00 committed by afiqzudinhadi
parent da994be0ba
commit 9308ba806a
3 changed files with 31 additions and 16 deletions

View file

@ -16,6 +16,8 @@ int zmk_rgb_underglow_toggle(void);
int zmk_rgb_underglow_get_state(bool *state);
int zmk_rgb_underglow_on(void);
int zmk_rgb_underglow_off(void);
int zmk_rgb_underglow_transient_on(void);
int zmk_rgb_underglow_transient_off(void);
int zmk_rgb_underglow_cycle_effect(int direction);
int zmk_rgb_underglow_calc_effect(int direction);
int zmk_rgb_underglow_select_effect(int effect);