summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/action.h b/apps/action.h
index c1c60c9b0b..96e8086baa 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -25,14 +25,15 @@
25#define TIMEOUT_NOBLOCK 0 25#define TIMEOUT_NOBLOCK 0
26 26
27#define CONTEXT_STOPSEARCHING 0xFFFFFFFF 27#define CONTEXT_STOPSEARCHING 0xFFFFFFFF
28#define CONTEXT_REMOTE 0x80000000 /* | this against another context to get remote buttons for that context */ 28#define CONTEXT_REMOTE 0x80000000 /* | this against another context to get remote buttons for that context */
29#define CONTEXT_CUSTOM 0x40000000 /* | this against anything to get your context number */ 29#define CONTEXT_CUSTOM 0x40000000 /* | this against anything to get your context number */
30#define CONTEXT_CUSTOM2 0x20000000 /* as above */
30 31
31#define LAST_ITEM_IN_LIST { CONTEXT_STOPSEARCHING, BUTTON_NONE, BUTTON_NONE } 32#define LAST_ITEM_IN_LIST { CONTEXT_STOPSEARCHING, BUTTON_NONE, BUTTON_NONE }
32#define LAST_ITEM_IN_LIST__NEXTLIST(a) { a, BUTTON_NONE, BUTTON_NONE } 33#define LAST_ITEM_IN_LIST__NEXTLIST(a) { a, BUTTON_NONE, BUTTON_NONE }
33 34
34#ifndef HAS_BUTTON_HOLD 35#ifndef HAS_BUTTON_HOLD
35#define ALLOW_SOFTLOCK 0x20000000 /* will be stripped.. never needed except in calls to get_action() */ 36#define ALLOW_SOFTLOCK 0x10000000 /* will be stripped.. never needed except in calls to get_action() */
36#else 37#else
37#define ALLOW_SOFTLOCK 0 38#define ALLOW_SOFTLOCK 0
38#endif 39#endif
@@ -79,6 +80,7 @@ enum {
79 ACTION_UNKNOWN, 80 ACTION_UNKNOWN,
80 ACTION_REDRAW, /* returned if keys are locked and we splash()'ed */ 81 ACTION_REDRAW, /* returned if keys are locked and we splash()'ed */
81 ACTION_TOUCHPAD, 82 ACTION_TOUCHPAD,
83 ACTION_TOUCHPAD_MODE, /* toggle the touchpad mode */
82 84
83 /* standard actions, use these first */ 85 /* standard actions, use these first */
84 ACTION_STD_PREV, 86 ACTION_STD_PREV,