mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
Fix the default controller axes on Linux. The third axis is actually the Left Trigger, which causes the player to uncontrollably look upwards. Fixed by mapping said axis to nothing.
This commit is contained in:
parent
d744f8f983
commit
01a462e9d4
1 changed files with 3 additions and 1 deletions
|
@ -268,7 +268,9 @@ protected:
|
||||||
|
|
||||||
friend class SDLInputJoystickManager;
|
friend class SDLInputJoystickManager;
|
||||||
};
|
};
|
||||||
const EJoyAxis SDLInputJoystick::DefaultAxes[5] = {JOYAXIS_Side, JOYAXIS_Forward, JOYAXIS_Pitch, JOYAXIS_Yaw, JOYAXIS_Up};
|
|
||||||
|
// [Nash 4 Feb 2024] seems like on Linux, the third axis is actually the Left Trigger, resulting in the player uncontrollably looking upwards.
|
||||||
|
const EJoyAxis SDLInputJoystick::DefaultAxes[5] = {JOYAXIS_Side, JOYAXIS_Forward, JOYAXIS_None, JOYAXIS_Yaw, JOYAXIS_Pitch};
|
||||||
|
|
||||||
class SDLInputJoystickManager
|
class SDLInputJoystickManager
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue