summaryrefslogtreecommitdiffstats
path: root/apps/action.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-03-03 07:10:56 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-03-03 07:10:56 -0500
commitf688710707f3af56a5949b8ae3957c9408b25392 (patch)
tree5e0a15f00d66337123406c09c207f531a4c18eca /apps/action.h
parenta92696d40d3515d4391ffba043894ebbad80cab6 (diff)
downloadrockbox-f688710707f3af56a5949b8ae3957c9408b25392.tar.gz
rockbox-f688710707f3af56a5949b8ae3957c9408b25392.tar.bz2
rockbox-f688710707f3af56a5949b8ae3957c9408b25392.zip
Change keyclick_click so that it may accept raw buttons or actions.
Adds a new context, CONTEXT_RAWBUTTON, that I hope is out of the way of everything. Unfortunately have to increment min plugin API version for the second time today to accomodate additional parameter. Change-Id: Iaa46b926e57cf377fd4906f2d42bb98e87215033
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/action.h b/apps/action.h
index e46e4a64b2..1bffed3b75 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -42,6 +42,11 @@
#define ALLOW_SOFTLOCK 0
#endif
+#define CONTEXT_RAWBUTTON 0x04000000 /* For passing raw button code to
+ functions that normally take
+ action codes
+ (ie. keyclick_click) */
+
enum {
CONTEXT_STD = 0,
/* These CONTEXT_ values were here before me,