summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-23 11:33:04 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-23 11:33:04 +0000
commit2aee04366f2992a4a69d8a3d20f880d52a849cba (patch)
treed2ad39ac334493bd9d95849ccd655dce664d6898 /firmware/drivers/button.h
parentd4e2ee56ef61b123b01cfed288a9ab387443d44a (diff)
downloadrockbox-2aee04366f2992a4a69d8a3d20f880d52a849cba.zip
rockbox-2aee04366f2992a4a69d8a3d20f880d52a849cba.tar.gz
rockbox-2aee04366f2992a4a69d8a3d20f880d52a849cba.tar.bz2
rockbox-2aee04366f2992a4a69d8a3d20f880d52a849cba.tar.xz
Added timestamps of key presses, for auto-poweroff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2372 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.h')
-rw-r--r--firmware/drivers/button.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/button.h b/firmware/drivers/button.h
index 6563f1b..fc1d8f3 100644
--- a/firmware/drivers/button.h
+++ b/firmware/drivers/button.h
@@ -23,6 +23,7 @@
#include "config.h"
extern struct event_queue button_queue;
+extern long last_keypress;
void button_init (void);
int button_get (bool block);