diff src/touchscreen/SDL_systouchscreen.h @ 2675:5e4274591163 gsoc2008_nds

Started minor changes to the coordinate system used by the touchscreen API as discussed on the mailing list. Also beginning to separate the 'Pressed' and 'Moved' event handling on the private level.
author Darren Alton <dalton@stevens.edu>
date Sun, 29 Jun 2008 21:32:31 +0000
parents f1d07ba2e275
children
line wrap: on
line diff
--- a/src/touchscreen/SDL_systouchscreen.h	Mon Jun 23 11:55:26 2008 +0000
+++ b/src/touchscreen/SDL_systouchscreen.h	Sun Jun 29 21:32:31 2008 +0000
@@ -35,9 +35,9 @@
     int npoints;                /* Number of points currently touched */
     struct touchpoint
     {
-        int x;
-        int y;
-        int pressure;
+        Uint16 x;
+        Uint16 y;
+        Uint16 pressure;
     } *points;                   /* Current ball motion deltas */
 
     struct touchscreen_hwdata *hwdata;     /* Driver dependent information */