EmptyEpsilon icon indicating copy to clipboard operation
EmptyEpsilon copied to clipboard

[Enhancement] Improve joystick support

Open Ownezx opened this issue 6 months ago • 0 comments

While working on #2412, I realised that joystick support needs quite some work.

  • Global parameters for deadzone and max_deadzone should be used for all joystick inputs. (Perhaps adding some settings in the menu also)
  • A resolution parameter should also be used to avoid too many networking calls. (the difference between current input and last input needs to be a minimum size before network call)
  • I fixed some code in that PR that lead to the joystick input of 2 where joystick should have a maximum of 1. I suspect that pattern is replicated in other places.

Ideally we want to handle the deadzones and resolution for each different joystick in the event handler directly so we don't have the same snippet of code repeated in many places in the codebase.

Ownezx avatar Jun 12 '25 04:06 Ownezx