include/SDL_mouse.h
changeset 8815 c6d0a457f3b2
parent 8149 681eb46b8ac4
child 8953 dc80dc0bd22e
     1.1 --- a/include/SDL_mouse.h	Wed Jun 04 10:52:34 2014 -0700
     1.2 +++ b/include/SDL_mouse.h	Wed Jun 04 10:55:26 2014 -0700
     1.3 @@ -99,6 +99,16 @@
     1.4                                                     int x, int y);
     1.5  
     1.6  /**
     1.7 + *  \brief Moves the mouse to the given position in global screen space.
     1.8 + *
     1.9 + *  \param x The x coordinate
    1.10 + *  \param y The y coordinate
    1.11 + *
    1.12 + *  \note This function generates a mouse motion event
    1.13 + */
    1.14 +extern DECLSPEC void SDLCALL SDL_WarpMouseGlobal(int x, int y);
    1.15 +
    1.16 +/**
    1.17   *  \brief Set relative mouse mode.
    1.18   *
    1.19   *  \param enabled Whether or not to enable relative mode