Analog values from Xbox Controller Sticks
I would like to retrieve the analog input from the analog sticks of a Xbox controller.
I have the following at the moment:
InputYaw is only one of the three values:
Can someone point me in the right direction or tell me what I am doing wrong?
I solved the issue by changing the Deadzone to 0.25 to all in-use Axis. I found this value in the FPS example. I did not try hard enough with the deadzone before.
I also tested my original situation (Using
So, if you use a Xbox One controller and you receive NaN values for your input axis, then try changing the Deadzone of the axis to
@Doug Thanks for helping out!
answered Aug 03 '16 at 09:56 PM
If you are trying to get the value of the controller's analog sticks, you may want to take a look at the code for the third person template project. For example, the forward/backward movement axis is bound using
answered Aug 01 '16 at 09:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here