Gamepad sticks are snapping to axes

It’s not directly related to Input System (or is it?).

I’m trying to use the right stick to aim in my 2D game. Aim angle is calculated based on the current value of the stick input.

I get there is a deadzone in the center. But the stick seems to also snap to vertical and horizontal directions. That’s why my aiming lacks precision.

I’m afraid I can’t fix this within Unity, because even in controller properties it works this way:


Try to move your sticks around slowly on your gamepads and you’ll observe how it snaps.

Is there any way to access raw stick values in Unity, without snapping applied?

I’ve got these problems with PS4 gamepad and Xbox360 gamepad.


edit: I made a video. Please look at this PS4 gamepad. Stick values leave axes after such a large thumb movement:

I also have this exact issue with the same controller. Have you found a way to fix this problem?? I tried using DS4windows and configured it but it didn’t seem to work

Hello. I’ve done my research on this problem and it seems it can’t be fixed.

Look: DualShock - Wikipedia

PS4 gamepad had two major versions. DualShock 4: CUH-ZCT1 or CUH-ZCT2.
My PS4 gamepad is CUH-ZCT2, but I bought CUH-ZCT1 to test.
And CUH-ZCT1 gamepad stick worked for me. There was no axial deadzone!
So by “improved triggers and joysticks” they actually mean that joysticks were nerfed to work better with games that are ok with less precise input.

I’ve done more tests and it looks like, Xbox 360 controller has no axial deadzone either.

Xbox Series S controller and PS5 controller have even more accurate sticks, with no axial deadzone.

Look:

That is quite unfortunate, but thank you for your response even though this thread was open a few years ago!
I’ve just stuck with using my PS3 controller and configured it to work with DS4windows. I checked my PS4 controller and turned out to be a fake and with the model name: CUH-ZCT2E, although the joystick deadzones seem to be the only problem.

I’m probably not gonna find a way to solve this since it’s a hardware issue, but I’ll try opening it up and configuring it internally. Hopefully people with the same issue see this thread and share their solution, but I don’t see that happening given how old this thing is. Again, thank you for the response!

I’m glad I could share my research with someone interested in it :wink:

Good luck tinkering with your gamepad!