Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2013-11-02 13:26:33
Size: 831
Comment: Removed empty Related Functions section, see SGFunctions.
Revision 6 as of 2014-06-22 20:54:17
Size: 883
Comment: Added Related Functions section.
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
== Related Functions ==
 .[[SDL_WarpMouseGlobal]]

DRAFT

SDL_WarpMouseInWindow

Use this function to move the mouse to the given position within the window.

Syntax

void SDL_WarpMouseInWindow(SDL_Window* window,
                           int         x,
                           int         y)

Function Parameters

window

the window to move the mouse into, or NULL for the current mouse focus

x

the x coordinate within the window

y

the y coordinate within the window

Code Examples

You can add your code example here

Remarks

This function generates a mouse motion event.


CategoryAPI, CategoryMouse

None: SDL_WarpMouseInWindow (last edited 2014-06-22 20:54:17 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit