diff options
Diffstat (limited to 'include/keyboard_backlight.h')
-rw-r--r-- | include/keyboard_backlight.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/keyboard_backlight.h b/include/keyboard_backlight.h index 929dbfa90e..cf68805235 100644 --- a/include/keyboard_backlight.h +++ b/include/keyboard_backlight.h @@ -32,6 +32,12 @@ struct kblight_drv { int (*set)(int percent); /** + * Get the current brightness + * @return Brightness in percentage + */ + int (*get)(void); + + /** * Enable or disable keyboard backlight * @param enable: 1=Enable, 0=Disable. * @return EC_SUCCESS or EC_ERROR_* |