Mac xbox controller triggers
I cant find a way or any references that help me to get the left (axis 5) and right (axis 6) trigger on the xbox 360 controller on mac to have an axis value of 0, 1 instead of -1, 1 as i can't use the 3rd axis for both the triggers as that is only supported for windows.
Answer by JesseFox · Oct 21, 2016 at 03:59 AM
newTriggerValue = (Input.GetAxis ("RightTriggerMac")+ 1f) / 2;
This will return a value from 0 to 1 for the triggers on a xbox 360 controller for mac.
Your answer
Follow this Question
Related Questions
Xbox360 Trigger Axis not recognized 0 Answers
XboxCtrlrInput Dead Zone 0 Answers
XInput D-Pad and Triggers not working 0 Answers
Input Manager - prevent keyboard keys mapping to Xbox controller buttons 1 Answer
UNITY no longer detecting XBOX360 controller input,XBOX 360 controller no longer working with UNITY 0 Answers