summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-19 22:23:05 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-19 22:23:05 +0000
commitf0d32429776d8e722ed605eb4b7b26b5390e88a4 (patch)
treea5f3cdeccb81f113a814a70b0ba0faf92586ef84 /firmware
parent44eba075165f932f6b960e5fc069be22b0c9b929 (diff)
Forgot a file...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20056 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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);
|| !defined(BUTTON_BOTTOMRIGHT)) && !defined(__PCTOOL__)
#error Touchscreen button mode BUTTON_* defines not set up correctly
#endif
-enum touchscreen_mode {
- TOUCHSCREEN_POINT = 0, /* touchscreen returns pixel co-ords */
- TOUCHSCREEN_BUTTON, /* touchscreen returns BUTTON_* area codes
- actual pixel value will still be accessable
- from button_get_data */
-};
-/* maybe define the number of buttons in button-target.h ? */
-void touchscreen_set_mode(enum touchscreen_mode mode);
-enum touchscreen_mode touchscreen_get_mode(void);
+
+#include "touchscreen.h"
#endif
#endif /* _BUTTON_H_ */