mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-29 16:09:13 +00:00
Removed SDL_HINT_MOUSE_RELATIVE_MODE_WARP
This complicated mouse handling and is a rarely tested path. Real relative mode is much better performance and higher precision.
This commit is contained in:
parent
6e0df0af24
commit
e08f34c3be
10 changed files with 16 additions and 90 deletions
|
@ -2532,21 +2532,6 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_MOUSE_RELATIVE_MODE_CENTER "SDL_MOUSE_RELATIVE_MODE_CENTER"
|
||||
|
||||
/**
|
||||
* A variable controlling whether relative mouse mode is implemented using
|
||||
* mouse warping.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Relative mouse mode uses raw input. (default)
|
||||
* - "1": Relative mouse mode uses mouse warping.
|
||||
*
|
||||
* This hint can be set anytime relative mode is not currently enabled.
|
||||
*
|
||||
* \since This hint is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_HINT_MOUSE_RELATIVE_MODE_WARP "SDL_MOUSE_RELATIVE_MODE_WARP"
|
||||
|
||||
/**
|
||||
* A variable setting the scale for mouse motion, in floating point, when the
|
||||
* mouse is in relative mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue