summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/action.h b/apps/action.h
index 9859c2c50c..c1c60c9b0b 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -78,6 +78,7 @@ enum {
78 ACTION_NONE = BUTTON_NONE, 78 ACTION_NONE = BUTTON_NONE,
79 ACTION_UNKNOWN, 79 ACTION_UNKNOWN,
80 ACTION_REDRAW, /* returned if keys are locked and we splash()'ed */ 80 ACTION_REDRAW, /* returned if keys are locked and we splash()'ed */
81 ACTION_TOUCHPAD,
81 82
82 /* standard actions, use these first */ 83 /* standard actions, use these first */
83 ACTION_STD_PREV, 84 ACTION_STD_PREV,
@@ -259,4 +260,13 @@ int get_action_statuscode(int *button);
259 BUTTON_NONE or flagged with SYS_EVENT */ 260 BUTTON_NONE or flagged with SYS_EVENT */
260intptr_t get_action_data(void); 261intptr_t get_action_data(void);
261 262
263#ifdef HAVE_TOUCHPAD
264/* return BUTTON_NONE on error
265 BUTTON_REPEAT if repeated press
266 BUTTON_REL if its a short press
267 BUTTON_TOUCHPAD otherwise
268*/
269int action_get_touchpad_press(short *x, short *y);
270#endif
271
262#endif /* __ACTION_H__ */ 272#endif /* __ACTION_H__ */