mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-27 08:18:41 +00:00
Added SDL_HINT_WINDOWS_RAW_MOUSE_NOLEGACY
This commit is contained in:
parent
9acf54142e
commit
089b862732
6 changed files with 79 additions and 43 deletions
|
|
@ -4734,6 +4734,21 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_WINDOWS_RAW_KEYBOARD_INPUTSINK "SDL_WINDOWS_RAW_KEYBOARD_INPUTSINK"
|
||||
|
||||
/**
|
||||
* A variable controlling whether the RIDEV_NOLEGACY flag is set when
|
||||
* enabling Windows raw mouse events.
|
||||
*
|
||||
* If RIDEV_NOLEGACY is set, then Windows mouse events will not be sent for mouse motion while relative mode is enabled. This improves performance when players are using high DPI mice, but should be disabled while showing custom assert dialogs in your application code.
|
||||
*
|
||||
* - "0": Windows mouse events will be generated while relative motion is enabled. (default)
|
||||
* - "1": Windows mouse events will not be generated while relative motion is enabled.
|
||||
*
|
||||
* This hint can be set anytime.
|
||||
*
|
||||
* \since This hint is available since SDL 3.6.0.
|
||||
*/
|
||||
#define SDL_HINT_WINDOWS_RAW_MOUSE_NOLEGACY "SDL_WINDOWS_RAW_MOUSE_NOLEGACY"
|
||||
|
||||
/**
|
||||
* A variable controlling whether SDL uses Kernel Semaphores on Windows.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue