X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpl_gun_ts.h;fp=frontend%2Fpl_gun_ts.h;h=c68272a4fe20a79a27bac31782c87785f14b7127;hp=0000000000000000000000000000000000000000;hb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae;hpb=19e57cbf170d1ce49f00097f3cc3a4ed96d77374 diff --git a/frontend/pl_gun_ts.h b/frontend/pl_gun_ts.h new file mode 100644 index 00000000..c68272a4 --- /dev/null +++ b/frontend/pl_gun_ts.h @@ -0,0 +1,14 @@ +#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); + +#else + +#define pl_gun_ts_init() NULL +#define pl_gun_ts_update(...) do {} while (0) + +#endif