include/SDL_events.h
branchgsoc2008_nds
changeset 2678 3895761db26a
parent 2674 f1d07ba2e275
     1.1 --- a/include/SDL_events.h	Wed Jul 02 13:59:30 2008 +0000
     1.2 +++ b/include/SDL_events.h	Thu Jul 10 23:35:01 2008 +0000
     1.3 @@ -35,7 +35,6 @@
     1.4  #include "SDL_keyboard.h"
     1.5  #include "SDL_mouse.h"
     1.6  #include "SDL_joystick.h"
     1.7 -#include "SDL_touchscreen.h"
     1.8  #include "SDL_quit.h"
     1.9  
    1.10  #include "begin_code.h"
    1.11 @@ -71,9 +70,6 @@
    1.12      SDL_JOYHATMOTION,           /**< Joystick hat position change */
    1.13      SDL_JOYBUTTONDOWN,          /**< Joystick button pressed */
    1.14      SDL_JOYBUTTONUP,            /**< Joystick button released */
    1.15 -    SDL_TOUCHPRESSED,           /**< Touchscreen pressed */
    1.16 -    SDL_TOUCHRELEASED,          /**< Touchscreen no longer pressed */
    1.17 -    SDL_TOUCHMOTION,            /**< Touchscreen point motion */
    1.18      SDL_QUIT,                   /**< User-requested quit */
    1.19      SDL_SYSWMEVENT,             /**< System specific event */
    1.20      SDL_EVENT_RESERVED1,        /**< Reserved for future use... */
    1.21 @@ -115,11 +111,6 @@
    1.22          SDL_EVENTMASK(SDL_JOYBALLMOTION) |
    1.23          SDL_EVENTMASK(SDL_JOYHATMOTION) |
    1.24          SDL_EVENTMASK(SDL_JOYBUTTONDOWN) | SDL_EVENTMASK(SDL_JOYBUTTONUP),
    1.25 -    SDL_TOUCHPRESSEDMASK = SDL_EVENTMASK(SDL_TOUCHPRESSED),
    1.26 -    SDL_TOUCHRELEASEDMASK = SDL_EVENTMASK(SDL_TOUCHRELEASED),
    1.27 -    SDL_TOUCHMOTIONMASK = SDL_EVENTMASK(SDL_TOUCHMOTION),
    1.28 -    SDL_TOUCHEVENTMASK = SDL_EVENTMASK(SDL_TOUCHPRESSED) |
    1.29 -        SDL_EVENTMASK(SDL_TOUCHRELEASED) | SDL_EVENTMASK(SDL_TOUCHMOTION),
    1.30      SDL_QUITMASK = SDL_EVENTMASK(SDL_QUIT),
    1.31      SDL_SYSWMEVENTMASK = SDL_EVENTMASK(SDL_SYSWMEVENT)
    1.32  } SDL_EventMask;
    1.33 @@ -273,21 +264,6 @@
    1.34  } SDL_JoyButtonEvent;
    1.35  
    1.36  /**
    1.37 - * \struct SDL_TouchEvent
    1.38 - *
    1.39 - * \brief Touchscreen motion event structure (event.touch.*)
    1.40 - */
    1.41 -typedef struct SDL_TouchEvent
    1.42 -{
    1.43 -    Uint8 type;         /**< SDL_TOUCHMOTION, SDL_TOUCHPRESS, SDL_TOUCHRELEASED */
    1.44 -    Uint8 which;        /**< The touchscreen device index */
    1.45 -    int point;          /**< The touch point index, relevant for multitouch. */
    1.46 -    int xpos;           /**< The X coordinate of the touch point. */
    1.47 -    int ypos;           /**< The Y coordinate of the touch point. */
    1.48 -    int pressure;       /**< The pressure of the touch */
    1.49 -} SDL_TouchEvent;
    1.50 -
    1.51 -/**
    1.52   * \struct SDL_QuitEvent
    1.53   *
    1.54   * \brief The "quit requested" event
    1.55 @@ -358,7 +334,6 @@
    1.56      SDL_JoyBallEvent jball;         /**< Joystick ball event data */
    1.57      SDL_JoyHatEvent jhat;           /**< Joystick hat event data */
    1.58      SDL_JoyButtonEvent jbutton;     /**< Joystick button event data */
    1.59 -    SDL_TouchEvent touch;           /**< Touchscreen event data */
    1.60      SDL_QuitEvent quit;             /**< Quit request event data */
    1.61      SDL_UserEvent user;             /**< Custom event data */
    1.62      SDL_SysWMEvent syswm;           /**< System dependent window event data */