diff options
author | Drashna Jaelre <[email protected]> | 2020-05-18 06:05:35 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-18 06:05:35 -0700 |
commit | d0e0202b272a28d6a1e7f0d059396067bb861272 (patch) | |
tree | fb1c7fc315cf53846bda0f55985232e71ee9ce82 /quantum/rgblight.h | |
parent | e55d55edc08d5a5ca557e3ff442ca47ccd731067 (diff) | |
download | qmk_firmware-d0e0202b272a28d6a1e7f0d059396067bb861272.tar.gz qmk_firmware-d0e0202b272a28d6a1e7f0d059396067bb861272.zip |
Add query functions for RGB Light and RGB Matrix (#8960)
* Add additional query functions for RGBLIGHT
* Add additional query functions for RGB Matrix
* Change names of enable check functions
* Fix macro for rgb matrix takeover of rgblight functions
* Add documentation for rgb_matrix_get_hsv()
* Add *_get_hsv function to rgblight
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 6fc3b6f177..c36b328a35 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -350,6 +350,8 @@ uint8_t rgblight_get_mode(void); uint8_t rgblight_get_hue(void); uint8_t rgblight_get_sat(void); uint8_t rgblight_get_val(void); +bool rgblight_is_enabled(void); +HSV rgblight_get_hsv(void); /* === qmk_firmware (core)internal Functions === */ void rgblight_init(void); |