summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/button.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c
index 807e08fe22..c9bd1ad04e 100644
--- a/uisimulator/win32/button.c
+++ b/uisimulator/win32/button.c
@@ -33,7 +33,6 @@
/* speed repeat finishes at */
#define REPEAT_INTERVAL_FINISH 2
-long last_keypress;
struct event_queue button_queue;
void button_event(int key, bool pressed)
@@ -160,8 +159,6 @@ void button_event(int key, bool pressed)
queue_post(&button_queue, btn, NULL);
backlight_on();
-
- last_keypress = current_tick;
}
}
else
@@ -175,7 +172,6 @@ void button_event(int key, bool pressed)
void button_init(void)
{
- last_keypress = 0;
}
/* Again copied from real button.c... */