diff src/events/SDL_events.c @ 2678:3895761db26a gsoc2008_nds

Removed old touchscreen system, starting to implement mouse-based touchscreen. Also, more work on a non-software-rendering video driver
author Darren Alton <dalton@stevens.edu>
date Thu, 10 Jul 2008 23:35:01 +0000
parents f1d07ba2e275
children e1da92da346c
line wrap: on
line diff
--- a/src/events/SDL_events.c	Wed Jul 02 13:59:30 2008 +0000
+++ b/src/events/SDL_events.c	Thu Jul 10 23:35:01 2008 +0000
@@ -31,9 +31,6 @@
 #if !SDL_JOYSTICK_DISABLED
 #include "../joystick/SDL_joystick_c.h"
 #endif
-#if !SDL_TOUCHSCREEN_DISABLED
-#include "../touchscreen/SDL_touchscreen_c.h"
-#endif
 
 /* Public data -- the event filter */
 SDL_EventFilter SDL_EventOK = NULL;
@@ -120,12 +117,6 @@
             SDL_JoystickUpdate();
         }
 #endif
-#if !SDL_TOUCHSCREEN_DISABLED
-        /* Similarly, check for touchscreen state change */
-        if (SDL_numtouchscreens && (SDL_eventstate & SDL_TOUCHEVENTMASK)) {
-            SDL_TouchscreenUpdate();
-        }
-#endif
 
         /* Give up the CPU for the rest of our timeslice */
         SDL_EventLock.safe = 1;
@@ -397,12 +388,6 @@
             SDL_JoystickUpdate();
         }
 #endif
-#if !SDL_TOUCHSCREEN_DISABLED
-        /* Check for touchscreen state change */
-        if (SDL_numtouchscreens && (SDL_eventstate & SDL_TOUCHEVENTMASK)) {
-            SDL_TouchscreenUpdate();
-        }
-#endif
     }
 }