Control Sticks not mapping properly

Hi all, I’m trying to add controller support to my game
atm I have two axis for each movement axis, one to handle keyboard and one for controllers


-1 would move backwards, 0 is rest and 1 is forwards
on keyboard this is just fine, but when using an Xbox controller the movement axis all default to -1 instead
Does anyone know why this is and/or how to fix it?

Thanks

Try setting dead zone for the joystick axis to something like 0.2

Wait. Why is the sensitivity at 1000???
That’s most likely why

1 Like

Both dead and sensitivity would lead to that result. Sensitivity is at 1000 so the keyboard key will return +/- 1.0 instantaneously when pressed instead of ramping up and down in value over a fixed time (axis simulation for keyboard keys). But that setting will cause problems with a joystick axis.

With a tiny dead and huge sensitivity, any value received on the axis would be magnified to 1000x and be clamped at -1/+1.