| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | * |
| | | * \param x The x coordinate |
| | | * \param y The y coordinate |
| | | * \return 0 on success, -1 on error (usually: unsupported by a platform). |
| | | * |
| | | * \note This function generates a mouse motion event |
| | | */ |
| | | extern DECLSPEC void SDLCALL SDL_WarpMouseGlobal(int x, int y); |
| | | extern DECLSPEC int SDLCALL SDL_WarpMouseGlobal(int x, int y); |
| | | |
| | | /** |
| | | * \brief Set relative mouse mode. |