summaryrefslogtreecommitdiff
path: root/app/include/zmk/rgb_underglow.h
diff options
context:
space:
mode:
authorPeter Johanson <peter@peterjohanson.com>2021-11-09 05:04:54 +0000
committerNick Van Doorn <nick@nv.delivery>2021-11-26 09:59:03 -0800
commit54bfc6c970f562b3919d3f07a88f093505bad821 (patch)
tree4ab3c9e1d3c4d74fb193348e4e9ea17d39372c95 /app/include/zmk/rgb_underglow.h
parent8a04dcbdc7479c69df734a049ce55d9656cd9b99 (diff)
fix(underglow): Handle cycling effects on splits.
* Convert relative effect cycling to absolute effect selection.
Diffstat (limited to 'app/include/zmk/rgb_underglow.h')
-rw-r--r--app/include/zmk/rgb_underglow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/include/zmk/rgb_underglow.h b/app/include/zmk/rgb_underglow.h
index 4d452a6..797f0b1 100644
--- a/app/include/zmk/rgb_underglow.h
+++ b/app/include/zmk/rgb_underglow.h
@@ -17,6 +17,8 @@ int zmk_rgb_underglow_get_state(bool *state);
int zmk_rgb_underglow_on();
int zmk_rgb_underglow_off();
int zmk_rgb_underglow_cycle_effect(int direction);
+int zmk_rgb_underglow_calc_effect(int direction);
+int zmk_rgb_underglow_select_effect(int effect);
struct zmk_led_hsb zmk_rgb_underglow_calc_hue(int direction);
struct zmk_led_hsb zmk_rgb_underglow_calc_sat(int direction);
struct zmk_led_hsb zmk_rgb_underglow_calc_brt(int direction);