+ if (updated) {
+ if (x) *x = sx;
+ if (y) *y = sy;
+ if (p) *p = sp;
+ return 1;
+ }
+
+ return 0;
+}
+
+/* returns x, y in range 0..1023 (normalized to visible layer) */
+void pl_gun_ts_update(struct tsdev *ts, int *x, int *y, int *in)
+{
+ pl_gun_ts_update_raw(ts, NULL, NULL, NULL);
+