aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/backlight.h
diff options
context:
space:
mode:
authorPhillip Tennen <phillip.ennen@gmail.com>2018-11-14 16:45:46 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-14 07:45:46 -0800
commit0cda2f43e2c95fe5dd440e6391ae807f508b040b (patch)
tree05d9cd5db86789ca0f475f43db7b0fbcb6251f1d /tmk_core/common/backlight.h
parentf7fcba329dbd659a4bb37acdf7e2dc24204a81c8 (diff)
downloadfirmware-0cda2f43e2c95fe5dd440e6391ae807f508b040b.tar.gz
firmware-0cda2f43e2c95fe5dd440e6391ae807f508b040b.tar.bz2
firmware-0cda2f43e2c95fe5dd440e6391ae807f508b040b.zip
Backlight status functions (#4259)
* add functions to set specific backlight state * add function to query backlight state * update documentation with new backlight functions * Update tmk_core/common/backlight.c Co-Authored-By: codyd51 <phillip.ennen@gmail.com> * Update tmk_core/common/backlight.h Co-Authored-By: codyd51 <phillip.ennen@gmail.com> * update docs for is_backlight_enabled() name change
Diffstat (limited to 'tmk_core/common/backlight.h')
-rw-r--r--tmk_core/common/backlight.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/backlight.h b/tmk_core/common/backlight.h
index ef8ab9b2b..420c9d19e 100644
--- a/tmk_core/common/backlight.h
+++ b/tmk_core/common/backlight.h
@@ -32,7 +32,11 @@ void backlight_init(void);
void backlight_increase(void);
void backlight_decrease(void);
void backlight_toggle(void);
+void backlight_enable(void);
+void backlight_disable(void);
+bool is_backlight_enabled(void);
void backlight_step(void);
void backlight_set(uint8_t level);
void backlight_level(uint8_t level);
uint8_t get_backlight_level(void);
+