forked from len0rd/rockbox
FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables Backlight Only' setting in simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23849 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03246172b8
commit
f443d026ec
2 changed files with 1 additions and 18 deletions
|
|
@ -58,23 +58,6 @@ struct event_queue button_queue;
|
|||
|
||||
static int btn = 0; /* Hopefully keeps track of currently pressed keys... */
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
static bool filter_first_keypress;
|
||||
|
||||
void set_backlight_filter_keypress(bool value)
|
||||
{
|
||||
filter_first_keypress = value;
|
||||
}
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
static bool remote_filter_first_keypress;
|
||||
|
||||
void set_remote_backlight_filter_keypress(bool value)
|
||||
{
|
||||
remote_filter_first_keypress = value;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAS_BUTTON_HOLD
|
||||
bool hold_button_state = false;
|
||||
bool button_hold(void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue