summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-04 10:01:27 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-04 10:01:27 +0000
commit5af8e940e16a262aab558a21a12375788c7312bd (patch)
tree2249fb684932747950ea6a895dc4cfd408e8107b /uisimulator
parent2ecb3231c697d05c052fd22c040c0e59c2798cd5 (diff)
downloadrockbox-5af8e940e16a262aab558a21a12375788c7312bd.tar.gz
rockbox-5af8e940e16a262aab558a21a12375788c7312bd.tar.bz2
rockbox-5af8e940e16a262aab558a21a12375788c7312bd.zip
woops, lasttn does need to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15453 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 975a32c768..193d89c528 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -86,13 +86,13 @@ bool remote_button_hold(void) {
}
#endif
+static int lastbtn;
void button_event(int key, bool pressed)
{
int new_btn = 0;
int diff = 0;
int data = 0;
static int count = 0;
- static int lastbtn;
static int repeat_speed = REPEAT_INTERVAL_START;
static int repeat_count = 0;
static bool repeat = false;