diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
commit | e61f6fa5995780054760b44b35ef4f4d4a35afed (patch) | |
tree | 15c6088c7ec50acbcd807cbff555399108281ad1 /uisimulator/win32 | |
parent | 0907631464198e30235e1c628ba630bb73c498d2 (diff) | |
download | rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.tar.gz rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.zip |
Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32')
-rw-r--r-- | uisimulator/win32/button.c | 4 |
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... */ |