Where do I modify joystick deadzone?

Hello, where can I modify joystick deadzones?

I currently have a twin-stick shooter setup that uses the right stick for rotation of the player ship and for firing. It felt strange that the ship would snap along the axes, so I printed out some debug info and found that there is about 1-2 millimeter deadzone.

Thanks.

The deadzones for axes can be found in the input section of the project settings under AxisConfig.

Ah, thanks. Didn’t notice the little arrow for expanding and showing more properties.

Good question and answer! Going to bullet point the following, for SEO purposes…

  • Prevent thumbsticks snapping.
  • Virtual Joysticks 90 degree threshold.
  • Mobile Joysticks not smooth

where would you change this value at runtime?

If anyone else is wondering about this, you can set an Axis’ deadzone at runtime by using PlayerInput->SetAxisProperties() in the PlayerController.

3 Likes

If anyone stumble here after the enhanced action input that replace the old ways of mapping, you need to add a MODIFIER to the input (either on the input object itself, or in the input mapping context [IMC]; I usually prefer to do it in the IMC).

By pressing MODIFIERS on the list you can see DEADZONE and you simply add it.

I have tried this but they’re not displaying as pins on the input action node.