- Home /
XBox One Controller Has Constant Input Even When Not In Use
I'm seeing an issue where the Input Manager is telling me that the axis I have mapped to the left stick of an XBox One controller is always -1.0f even when I'm not touching the controller. This is on PC. Has anyone seen anything like this?
Take a look at the "Dead" setting in the Input $$anonymous$$anager. Try upping the value.
I'm guessing you are using GetAxisRaw to get the input from the controller. Try GetAxis and see if the problem persists.
Input::GetAxis is also -1. Even cranking the deadzone to 0.5 doesn't help the problem.
I'm getting a similar issue with d-pad input on $$anonymous$$acOS. It returns a value of 0 until one of the directions is pressed. After releasing it the value is always -1. I'm at a loss for any kind of fix because I'm not sure how to deter$$anonymous$$e whether the user actually pushed left/down or it's just the issue.
Answer by Slideulidou · May 22, 2019 at 12:52 PM
maybe try to increase the dead zone value, and also, try to see if your stick is working fine. You can also try to debug the value of the stick to see what's happening when moving this particular stick
Answer by pmerilainen · May 22, 2019 at 03:07 PM
Triggers' rest pose is -1, so you need to query each axes' rest pose at the boot up and compare input values to them. edit: Sticks should rest at zero, though. Are you sure you query the correct axis?
Your answer
Follow this Question
Related Questions
Using a PS Vita as a controller? 1 Answer
X360 joysticks stick to cardinal directions 0 Answers
How do I have multiple controls for the same function? (Controller and Keyboard) 1 Answer
Dualshock3 Mac L2/R2 Trigger Analog Values? 1 Answer
Read analog stick input without using the Input Manager 1 Answer