1
0
Fork 0
forked from len0rd/rockbox

MPEGPlayer quickie: add an option to set the backlight brightness to a plugin-specified value when playing video or interacting. Nice when one likes a dim backlight normally but that isn't sufficient when viewing video for instance. Suggested in FS#8417 in addition to my own desire for this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17563 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-05-18 00:14:34 +00:00
parent 18f13b149a
commit 1f2df74079
5 changed files with 172 additions and 16 deletions

View file

@ -34,4 +34,15 @@ void remote_backlight_use_settings(const struct plugin_api* rb);
void buttonlight_force_on(const struct plugin_api* rb);
void buttonlight_use_settings(const struct plugin_api* rb);
#endif
/**
* Backlight brightness adjustment settings
*/
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
void backlight_brightness_set(const struct plugin_api *rb,
int brightness);
void backlight_brightness_use_setting(const struct plugin_api *rb);
#endif
#endif /* _LIB_HELPER_H_ */