X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fpl_gun_ts.h;h=8a3362712256266eb1173775d579609f6973a1ac;hb=afaac9354c80862f1bb153144a811f12d6836eec;hp=c68272a4fe20a79a27bac31782c87785f14b7127;hpb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae;p=pcsx_rearmed.git diff --git a/frontend/pl_gun_ts.h b/frontend/pl_gun_ts.h index c68272a4..8a336271 100644 --- a/frontend/pl_gun_ts.h +++ b/frontend/pl_gun_ts.h @@ -1,3 +1,6 @@ +#ifndef __PL_GUN_TS_H__ +#define __PL_GUN_TS_H__ + #ifdef HAVE_TSLIB struct tsdev; @@ -6,9 +9,15 @@ 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); +int pl_gun_ts_update_raw(struct tsdev *ts, int *x, int *y, int *p); +int pl_gun_ts_get_fd(struct tsdev *ts); + #else #define pl_gun_ts_init() NULL #define pl_gun_ts_update(...) do {} while (0) +#define pl_set_gun_rect(...) do {} while (0) #endif + +#endif /* __PL_GUN_TS_H__ */