summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-12-04 22:43:33 +0000
committerNils Wallménius <nils@rockbox.org>2009-12-04 22:43:33 +0000
commitf443d026ec7dbf4609b740f697ffa9438a5d7f38 (patch)
tree417c95ebf2ad6c0498f102b5caf9748a2f2b3c4a /uisimulator
parent03246172b8855d661309a166db6909e065ea54cb (diff)
downloadrockbox-f443d026ec7dbf4609b740f697ffa9438a5d7f38.tar.gz
rockbox-f443d026ec7dbf4609b740f697ffa9438a5d7f38.tar.bz2
rockbox-f443d026ec7dbf4609b740f697ffa9438a5d7f38.zip
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
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 45de7a469f..e2bae1cf7b 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -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) {