summaryrefslogtreecommitdiffstats
path: root/apps/action.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-03 05:08:33 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-03 05:08:33 +0000
commit0e445fcef6a803e0b321964b3c739f6dc9f2a82d (patch)
tree2ab1303b93f85bf25ecb32a8c4396af52b599b5d /apps/action.h
parentc41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945 (diff)
downloadrockbox-0e445fcef6a803e0b321964b3c739f6dc9f2a82d.tar.gz
rockbox-0e445fcef6a803e0b321964b3c739f6dc9f2a82d.tar.bz2
rockbox-0e445fcef6a803e0b321964b3c739f6dc9f2a82d.zip
Fix the bug where the short-long fwd/back action would ffwd/rewind the next folder (consult the manual if that makes no sense)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21619 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/action.h b/apps/action.h
index 3e53b6d7a8..dd81d13818 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -295,4 +295,10 @@ intptr_t get_action_data(void);
int action_get_touchscreen_press(short *x, short *y);
#endif
+/* Don't let get_action*() return any ACTION_* values untill the current buttons
+ * have ben release. SYS_* and BUTTON_NONE will go through.
+ * Any actions relying on _RELEASE won't get seen
+ */
+void action_wait_for_release(void);
+
#endif /* __ACTION_H__ */