1
0
Fork 0
forked from len0rd/rockbox

Forgot a file...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-02-19 22:23:05 +00:00
parent 44eba07516
commit f0d3242977

View file

@ -75,15 +75,8 @@ int button_apply_acceleration(const unsigned int data);
|| !defined(BUTTON_BOTTOMRIGHT)) && !defined(__PCTOOL__) || !defined(BUTTON_BOTTOMRIGHT)) && !defined(__PCTOOL__)
#error Touchscreen button mode BUTTON_* defines not set up correctly #error Touchscreen button mode BUTTON_* defines not set up correctly
#endif #endif
enum touchscreen_mode {
TOUCHSCREEN_POINT = 0, /* touchscreen returns pixel co-ords */ #include "touchscreen.h"
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);
#endif #endif
#endif /* _BUTTON_H_ */ #endif /* _BUTTON_H_ */