Download

Limit gamepad thumbstick movement only in 4 direction

Hi,I want to limit gamepad left thumbstick movement only in 4 direction, which is normally 8 direction. Purpose for this is that I dont want any mixed input, either x axis or y axis in a single time. How can I do this?

I am not aware of any options that will actually allow you to do this, but you could do this using branches. As an example, when the Gamepad up is pushed on the joystick, you can make sure that neither left or right are being pushed, and if they are, execute the code for whatever joystick has the greatest axis value.