You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Managers/UInputMan.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -712,7 +712,8 @@ namespace RTE {
712
712
bool m_TrapMousePosPerPlayer[Players::MaxPlayerCount]; //!< Whether to trap the mouse position to the middle of the screen for each player during network multiplayer.
713
713
714
714
staticconstexprdouble c_GamepadAxisLimit = 32767.0; //!< Maximum axis value as defined by SDL (int16 max).
715
-
staticconstexprint c_AxisDigitalThreshold = 8192; //!< Digital Axis threshold value as defined by allegro.
715
+
staticconstexprint c_AxisDigitalPressedThreshold = 8192; //!< Digital Axis threshold value as defined by allegro.
716
+
staticconstexprint c_AxisDigitalReleasedThreshold = c_AxisDigitalPressedThreshold - 100; //!< Digital Axis release threshold, to debounce values.
0 commit comments