diff options
author | notaz | 2011-08-09 01:16:59 +0300 |
---|---|---|
committer | notaz | 2011-08-13 00:56:33 +0300 |
commit | 4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae (patch) | |
tree | 22f29a06fda180d8269878b3cdb413044a5e351e /frontend/pl_gun_ts.h | |
parent | 19e57cbf170d1ce49f00097f3cc3a4ed96d77374 (diff) | |
download | pcsx_rearmed-4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae.tar.gz pcsx_rearmed-4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae.tar.bz2 pcsx_rearmed-4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae.zip |
add guncon support
a bit basic but works
Diffstat (limited to 'frontend/pl_gun_ts.h')
-rw-r--r-- | frontend/pl_gun_ts.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/pl_gun_ts.h b/frontend/pl_gun_ts.h new file mode 100644 index 0000000..c68272a --- /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 |