src/events/SDL_events.c
branchgsoc2008_nds
changeset 2678 3895761db26a
parent 2674 f1d07ba2e275
child 2698 e1da92da346c
     1.1 --- a/src/events/SDL_events.c	Wed Jul 02 13:59:30 2008 +0000
     1.2 +++ b/src/events/SDL_events.c	Thu Jul 10 23:35:01 2008 +0000
     1.3 @@ -31,9 +31,6 @@
     1.4  #if !SDL_JOYSTICK_DISABLED
     1.5  #include "../joystick/SDL_joystick_c.h"
     1.6  #endif
     1.7 -#if !SDL_TOUCHSCREEN_DISABLED
     1.8 -#include "../touchscreen/SDL_touchscreen_c.h"
     1.9 -#endif
    1.10  
    1.11  /* Public data -- the event filter */
    1.12  SDL_EventFilter SDL_EventOK = NULL;
    1.13 @@ -120,12 +117,6 @@
    1.14              SDL_JoystickUpdate();
    1.15          }
    1.16  #endif
    1.17 -#if !SDL_TOUCHSCREEN_DISABLED
    1.18 -        /* Similarly, check for touchscreen state change */
    1.19 -        if (SDL_numtouchscreens && (SDL_eventstate & SDL_TOUCHEVENTMASK)) {
    1.20 -            SDL_TouchscreenUpdate();
    1.21 -        }
    1.22 -#endif
    1.23  
    1.24          /* Give up the CPU for the rest of our timeslice */
    1.25          SDL_EventLock.safe = 1;
    1.26 @@ -397,12 +388,6 @@
    1.27              SDL_JoystickUpdate();
    1.28          }
    1.29  #endif
    1.30 -#if !SDL_TOUCHSCREEN_DISABLED
    1.31 -        /* Check for touchscreen state change */
    1.32 -        if (SDL_numtouchscreens && (SDL_eventstate & SDL_TOUCHEVENTMASK)) {
    1.33 -            SDL_TouchscreenUpdate();
    1.34 -        }
    1.35 -#endif
    1.36      }
    1.37  }
    1.38