mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Document that the joystick deadzone hint defaults off
This commit is contained in:
parent
db0a2025c3
commit
ce7c751c2c
@ -720,14 +720,11 @@ extern "C" {
|
|||||||
#define SDL_HINT_JOYSTICK_THREAD "SDL_JOYSTICK_THREAD"
|
#define SDL_HINT_JOYSTICK_THREAD "SDL_JOYSTICK_THREAD"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether Linux joysticks adhere their HID-defined deadzones or return unfiltered values.
|
* \brief A variable controlling whether joysticks on Linux adhere to their HID-defined deadzones or return unfiltered values.
|
||||||
* This is useful for Wine which implements its own deadzone handler if requested by games, also it enables xinput
|
|
||||||
* games to receive unfiltered values as required from the API.
|
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
* "0" - Linux deadzones are not used by SDL
|
* "0" - Return unfiltered joystick axis values (the default)
|
||||||
* "1" - Linux deadzones are used by SDL (the default)
|
* "1" - Return axis values with deadzones taken into account
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_LINUX_JOYSTICK_DEADZONES "SDL_LINUX_JOYSTICK_DEADZONES"
|
#define SDL_HINT_LINUX_JOYSTICK_DEADZONES "SDL_LINUX_JOYSTICK_DEADZONES"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user