notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libretro: improve retro_memory_map
[pcsx_rearmed.git]
/
frontend
/
pl_gun_ts.h
diff --git
a/frontend/pl_gun_ts.h
b/frontend/pl_gun_ts.h
index
c68272a
..
8a33627
100644
(file)
--- 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;
#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);
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)
#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
+
+#endif /* __PL_GUN_TS_H__ */