mirror of https://github.com/encounter/SDL.git
Sync SDL wiki -> header
This commit is contained in:
parent
f600364b8a
commit
bdaf9a92a6
|
@ -245,13 +245,13 @@ extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled);
|
||||||
* While capturing is enabled, the current window will have the
|
* While capturing is enabled, the current window will have the
|
||||||
* `SDL_WINDOW_MOUSE_CAPTURE` flag set.
|
* `SDL_WINDOW_MOUSE_CAPTURE` flag set.
|
||||||
*
|
*
|
||||||
* Please note that as of SDL 2.0.22, SDL will attempt to "auto capture"
|
* Please note that as of SDL 2.0.22, SDL will attempt to "auto capture" the
|
||||||
* the mouse while the user is pressing a button; this is to try and make
|
* mouse while the user is pressing a button; this is to try and make mouse
|
||||||
* mouse behavior more consistent between platforms, and deal with the common
|
* behavior more consistent between platforms, and deal with the common case
|
||||||
* case of a user dragging the mouse outside of the window. This means that
|
* of a user dragging the mouse outside of the window. This means that if you
|
||||||
* if you are calling SDL_CaptureMouse() only to deal with this situation,
|
* are calling SDL_CaptureMouse() only to deal with this situation, you no
|
||||||
* you no longer have to (although it is safe to do so). If this causes
|
* longer have to (although it is safe to do so). If this causes problems for
|
||||||
* problems for your app, you can disable auto capture by setting the
|
* your app, you can disable auto capture by setting the
|
||||||
* `SDL_HINT_MOUSE_AUTO_CAPTURE` hint to zero.
|
* `SDL_HINT_MOUSE_AUTO_CAPTURE` hint to zero.
|
||||||
*
|
*
|
||||||
* \param enabled SDL_TRUE to enable capturing, SDL_FALSE to disable.
|
* \param enabled SDL_TRUE to enable capturing, SDL_FALSE to disable.
|
||||||
|
|
Loading…
Reference in New Issue