Page 1 of 1

GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 15 Feb 2022, 20:36
by stonstad
Is there a link to documentation for NoesisView Gamepad Repeat Delay and Repeat Rate?

... This feels like a bug or issue but I'm a unsure because I haven't located the documentation the repeat rate behavior. I can increase gamepad repeat rate to a high value so that GamePad input must be reapplied while navigating UI. That's great! i .e. D-Pad Left must be hit again to cycle left through tab enabled controls. But when I try the same workflow with Left Thumb Stick the behavior appears broken. Unity seems to interpret subtle changes in analog thumbstick value to different actions (up, down, left, right, etc). So a light tap to the left thumbstick causes the Noesis UI to cycle focus through many controls very quickly, regardless of repeat delay.

Unity provides a feature called "Press Point", which seems to exist to address this behavior. When I set all analog stick inputs to a press point value of 1 the behavior doesn't go away.

Is this a known issue or a potential user error? For reference, I tried a standard Windows 11 user interface (The Settings Control) and I can navigate the UI using a gamepad without accidental cycling of control focus.

Please let me know if this makes sense... I can assemble a video comparing the above behavior if it is helpful.

Thanks!
Shaun

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 15 Feb 2022, 21:09
by jsantos
The documentation for those two properties is in the tooltips (I will add it to the documentation too)
  • Gamepad Repeat Delay: The initial delay (in seconds) between an initial gamepad action and a repeated gamepad action
  • Gamepad Repeat Rate: The speed (in seconds) that the gamepad action repeats itself once repeating
I just created a new project, installed Noesis on it and opened the Buttons sample. I enabled the gamepad on the view and set a repeat repeat of 1 second. Everything is working as expected when navigating with the gamepad, both the left stick UP and the digital pad UP have a delay of 1 second.

Are you able to reproduce this in a clean project plus a new Noesis installation?

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 16 Feb 2022, 19:26
by stonstad
Thanks jsantos. I will work on a reproduction project!

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 16 Feb 2022, 20:07
by stonstad

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 16 Feb 2022, 21:42
by sfernandez
Thanks for the report. As I mentioned there, the problem is that gamepad input actions are missing the deadzone settings (Processors > Axis Deadzone).
Just set those values for the thumbstick (left, right, up, down) to 0.25 for example, and then it should behave as expected.

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 16 Feb 2022, 23:09
by stonstad
Perfect, thank you!

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

Posted: 22 Feb 2022, 10:48
by sfernandez
We just fixed for the next release, marking this as solved.