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