summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/button.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index ebfc1272cb..eb2435bed0 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -75,15 +75,8 @@ int button_apply_acceleration(const unsigned int data);
75 || !defined(BUTTON_BOTTOMRIGHT)) && !defined(__PCTOOL__) 75 || !defined(BUTTON_BOTTOMRIGHT)) && !defined(__PCTOOL__)
76#error Touchscreen button mode BUTTON_* defines not set up correctly 76#error Touchscreen button mode BUTTON_* defines not set up correctly
77#endif 77#endif
78enum touchscreen_mode { 78
79 TOUCHSCREEN_POINT = 0, /* touchscreen returns pixel co-ords */ 79#include "touchscreen.h"
80 TOUCHSCREEN_BUTTON, /* touchscreen returns BUTTON_* area codes
81 actual pixel value will still be accessable
82 from button_get_data */
83};
84/* maybe define the number of buttons in button-target.h ? */
85void touchscreen_set_mode(enum touchscreen_mode mode);
86enum touchscreen_mode touchscreen_get_mode(void);
87#endif 80#endif
88 81
89#endif /* _BUTTON_H_ */ 82#endif /* _BUTTON_H_ */