forked from len0rd/rockbox
Enabled button light for Sansa C200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d55f1b73df
commit
1bf813d682
3 changed files with 9 additions and 1 deletions
|
|
@ -3888,16 +3888,19 @@
|
|||
<source>
|
||||
*: none
|
||||
e200: "Wheel Light Timeout"
|
||||
c200: "Button Light Timeout"
|
||||
gigabeatf: "Button Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
e200: "Wheel Light Timeout"
|
||||
c200: "Button Light Timeout"
|
||||
gigabeatf: "Button Light Timeout"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
e200: "Wheel Light Timeout"
|
||||
c200: "Button Light Timeout"
|
||||
gigabeatf: "Button Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
|
|
|
|||
|
|
@ -256,7 +256,12 @@ static void button_tick(void)
|
|||
remote_backlight_on();
|
||||
else
|
||||
#endif
|
||||
{
|
||||
backlight_on();
|
||||
#ifdef HAVE_BUTTON_LIGHT
|
||||
button_backlight_on();
|
||||
#endif
|
||||
}
|
||||
|
||||
reset_poweroff_timer();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#define HAVE_LCD_COLOR
|
||||
|
||||
/* define this if you have a light associated with the buttons */
|
||||
/* TODO: #define HAVE_BUTTON_LIGHT */
|
||||
#define HAVE_BUTTON_LIGHT
|
||||
|
||||
/* define this if you have access to the quickscreen */
|
||||
#define HAVE_QUICKSCREEN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue