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