summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r--firmware/export/button.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 097f50a9d5..3847d2ac9f 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -69,6 +69,21 @@ int button_apply_acceleration(const unsigned int data);
69#define BUTTON_REL 0x02000000 69#define BUTTON_REL 0x02000000
70#define BUTTON_REPEAT 0x04000000 70#define BUTTON_REPEAT 0x04000000
71#define BUTTON_TOUCHSCREEN 0x08000000 71#define BUTTON_TOUCHSCREEN 0x08000000
72#define BUTTON_MULTIMEDIA 0x10000000
73
74#define BUTTON_MULTIMEDIA_PLAYPAUSE (BUTTON_MULTIMEDIA|0x01)
75#define BUTTON_MULTIMEDIA_STOP (BUTTON_MULTIMEDIA|0x02)
76#define BUTTON_MULTIMEDIA_PREV (BUTTON_MULTIMEDIA|0x04)
77#define BUTTON_MULTIMEDIA_NEXT (BUTTON_MULTIMEDIA|0x08)
78#define BUTTON_MULTIMEDIA_REW (BUTTON_MULTIMEDIA|0x10)
79#define BUTTON_MULTIMEDIA_FFWD (BUTTON_MULTIMEDIA|0x20)
80
81#define BUTTON_MULTIMEDIA_ALL (BUTTON_MULTIMEDIA_PLAYPAUSE| \
82 BUTTON_MULTIMEDIA_STOP| \
83 BUTTON_MULTIMEDIA_PREV| \
84 BUTTON_MULTIMEDIA_NEXT| \
85 BUTTON_MULTIMEDIA_REW | \
86 BUTTON_MULTIMEDIA_FFWD)
72 87
73#ifdef HAVE_TOUCHSCREEN 88#ifdef HAVE_TOUCHSCREEN
74int touchscreen_last_touch(void); 89int touchscreen_last_touch(void);