Please corret me if I'm wrong, but it appears that there is missing call to Mathf.Abs in UnityInput.cs, which might cause problems when m_Input.GetAxisRaw(name) returns -1 ? see patch below:
--- a/Assets/Opsive/Shared/Input/UnityInput.cs
+++ b/Assets/Opsive/Shared/Input/UnityInput.cs
@@ -234,7 +234,7 @@ namespace Opsive.Shared.Input
m_ToAddJoystickDownSet.Add(name);
return false;
}
- if (m_JoystickDownSet != null && m_JoystickDownSet.Contains(name) && m_Input.GetAxisRaw(name) < m_JoystickUpThreshold) {
+ if (m_JoystickDownSet != null && m_JoystickDownSet.Contains(name) && Mathf.Abs(m_Input.GetAxisRaw(name)) < m_JoystickUpThreshold) {
return true;
}
return false;