Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES

This commit is contained in:
Sam Lantinga 2024-02-11 17:57:25 -08:00
parent 980c379a0b
commit a538936821
6 changed files with 10 additions and 3 deletions

View file

@ -1221,7 +1221,7 @@ extern "C" {
*
* This hint should be set before a controller is opened.
*/
#define SDL_HINT_LINUX_JOYSTICK_DEADZONES "SDL_LINUX_JOYSTICK_DEADZONES"
#define SDL_HINT_JOYSTICK_LINUX_DEADZONES "SDL_JOYSTICK_LINUX_DEADZONES"
/**
* A variable controlling whether joysticks on Linux will always treat 'hat' axis inputs (ABS_HAT0X - ABS_HAT3Y) as 8-way digital hats without checking whether they may be analog.