From bb2c478af915616640d78ae9ba984fbf1f817185 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 20 Jan 2021 10:57:03 -0500 Subject: refactor(rgb): Expose explicit on/off command/API. --- app/include/zmk/rgb_underglow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/include/zmk') diff --git a/app/include/zmk/rgb_underglow.h b/app/include/zmk/rgb_underglow.h index 7fcd42d..7c2ff13 100644 --- a/app/include/zmk/rgb_underglow.h +++ b/app/include/zmk/rgb_underglow.h @@ -7,6 +7,9 @@ #pragma once int zmk_rgb_underglow_toggle(); +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_change_hue(int direction); int zmk_rgb_underglow_change_sat(int direction); -- cgit v1.2.3