cdrom: change pause timing again
[pcsx_rearmed.git] / frontend / pl_gun_ts.h
1 #ifndef __PL_GUN_TS_H__
2 #define __PL_GUN_TS_H__
3
4 #ifdef HAVE_TSLIB
5
6 struct tsdev;
7
8 struct tsdev *pl_gun_ts_init(void);
9 void pl_gun_ts_update(struct tsdev *ts, int *x, int *y, int *in);
10 void pl_set_gun_rect(int x, int y, int w, int h);
11
12 int pl_gun_ts_update_raw(struct tsdev *ts, int *x, int *y, int *p);
13 int pl_gun_ts_get_fd(struct tsdev *ts);
14
15 #else
16
17 #define pl_gun_ts_init() NULL
18 #define pl_gun_ts_update(...) do {} while (0)
19 #define pl_set_gun_rect(...) do {} while (0)
20
21 #endif
22
23 #endif /* __PL_GUN_TS_H__ */