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.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 3f6052a309..6276a033cc 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -81,13 +81,15 @@ void wheel_send_events(bool send);
81int button_apply_acceleration(const unsigned int data); 81int button_apply_acceleration(const unsigned int data);
82#endif 82#endif
83 83
84#define BUTTON_NONE 0x00000000 84#define BUTTON_NONE 0x00000000
85 85
86/* Button modifiers */ 86/* Button modifiers */
87#define BUTTON_REL 0x02000000 87#define BUTTON_REL 0x02000000
88#define BUTTON_REPEAT 0x04000000 88#define BUTTON_REPEAT 0x04000000
89#define BUTTON_TOUCHSCREEN 0x08000000 89/* Special buttons */
90#define BUTTON_MULTIMEDIA 0x10000000 90#define BUTTON_TOUCHSCREEN 0x08000000
91#define BUTTON_MULTIMEDIA 0x10000000
92#define BUTTON_REDRAW 0x20000000
91 93
92#define BUTTON_MULTIMEDIA_PLAYPAUSE (BUTTON_MULTIMEDIA|0x01) 94#define BUTTON_MULTIMEDIA_PLAYPAUSE (BUTTON_MULTIMEDIA|0x01)
93#define BUTTON_MULTIMEDIA_STOP (BUTTON_MULTIMEDIA|0x02) 95#define BUTTON_MULTIMEDIA_STOP (BUTTON_MULTIMEDIA|0x02)