src/video/x11/SDL_x11mouse.h
changeset 2940 b93965a16fe0
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
     1.1 --- a/src/video/x11/SDL_x11mouse.h	Thu Jan 01 07:58:20 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11mouse.h	Thu Jan 01 07:59:08 2009 +0000
     1.3 @@ -24,6 +24,21 @@
     1.4  #ifndef _SDL_x11mouse_h
     1.5  #define _SDL_x11mouse_h
     1.6  
     1.7 +#if SDL_VIDEO_DRIVER_X11_XINPUT
     1.8 +typedef struct X11_MouseData
     1.9 +{
    1.10 +    Display *display;
    1.11 +    XDevice *device;
    1.12 +    int motion;
    1.13 +    int button_pressed;
    1.14 +    int button_released;
    1.15 +    int proximity_in;
    1.16 +    int proximity_out;
    1.17 +    int num_xevents;
    1.18 +    XEventClass xevents[5];
    1.19 +} X11_MouseData;
    1.20 +#endif
    1.21 +
    1.22  extern void X11_InitMouse(_THIS);
    1.23  extern void X11_QuitMouse(_THIS);
    1.24