src/video/x11/SDL_x11touch.h
changeset 5613 f35b76e5b520
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
5612:41f033e6f311 5613:f35b76e5b520
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 
    22 
    23 #ifndef _SDL_x11touch_h
    23 #ifndef _SDL_x11touch_h
    24 #define _SDL_x11touch_h
    24 #define _SDL_x11touch_h
    25 
    25 
       
    26 /*
       
    27 !!! FIXME: remove the evdev code;
       
    28 !!! FIXME: this should be using XInput 2.1's new multitouch API.
       
    29 */
    26 
    30 
    27 //What should this be?
    31 /* What should this be? */
    28 #ifdef SDL_INPUT_LINUXEV
    32 #ifdef SDL_INPUT_LINUXEV
    29 typedef struct EventTouchData
    33 typedef struct EventTouchData
    30 {
    34 {
    31     int x,y,pressure,finger; //Temporary Variables until sync
    35     int x,y,pressure,finger; /* Temporary Variables until sync */
    32     int eventStream;
    36     int eventStream;
    33     SDL_bool up;
    37     SDL_bool up;
       
    38     SDL_bool down;
    34 } EventTouchData;
    39 } EventTouchData;
    35 #endif
    40 #endif
    36 
    41 
    37 extern void X11_InitTouch(_THIS);
    42 extern void X11_InitTouch(_THIS);
    38 extern void X11_QuitTouch(_THIS);
    43 extern void X11_QuitTouch(_THIS);