mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
lamp plugin:
-handles sys_events. -disable idle poweroff (part of FS#11578 by Hayden Pearce.) -correct button table in the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28429 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d055ff4a94
commit
f2dbbf45de
4 changed files with 78 additions and 59 deletions
|
@ -107,3 +107,15 @@ void backlight_brightness_use_setting(void)
|
|||
rb->backlight_set_brightness(rb->global_settings->brightness);
|
||||
}
|
||||
#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
|
||||
|
||||
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
|
||||
void buttonlight_brightness_set(int brightness)
|
||||
{
|
||||
rb->buttonlight_set_brightness(brightness);
|
||||
}
|
||||
|
||||
void buttonlight_brightness_use_setting(void)
|
||||
{
|
||||
rb->buttonlight_set_brightness(rb->global_settings->buttonlight_brightness);
|
||||
}
|
||||
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue