blob: 4e3d195f890f64714c3206996585eff788cbcc91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifdef HAVE_TSLIB
struct tsdev;
struct tsdev *pl_gun_ts_init(void);
void pl_gun_ts_update(struct tsdev *ts, int *x, int *y, int *in);
void pl_set_gun_rect(int x, int y, int w, int h);
int pl_gun_ts_update_raw(struct tsdev *ts, int *x, int *y, int *p);
int pl_gun_ts_get_fd(struct tsdev *ts);
#else
#define pl_gun_ts_init() NULL
#define pl_gun_ts_update(...) do {} while (0)
#define pl_set_gun_rect(...) do {} while (0)
#endif
|