|
⇤ ← Revision 1 as of 2010-03-11 06:14:41
Size: 875
Comment: create page, add content (Rev 5540)
|
Size: 856
Comment: update content - changeset 4465
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| Use this function to move the currently selected mouse to the given position within the window. | Use this function to move the mouse to the given position within the window. |
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.
