Commit | Line | Data |
---|---|---|
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 | ||
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 | ||
12 | #else | |
13 | ||
14 | #define pl_gun_ts_init() NULL | |
15 | #define pl_gun_ts_update(...) do {} while (0) | |
16 | ||
17 | #endif |