User avatar
stonstad
Topic Author
Posts: 263
Joined: 06 Jun 2016, 18:14
Location: United States
Contact:

GamePad Repeat Rate and Analog Thumbstick Behavior?

15 Feb 2022, 20:36

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
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

15 Feb 2022, 21:09

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?
 
User avatar
stonstad
Topic Author
Posts: 263
Joined: 06 Jun 2016, 18:14
Location: United States
Contact:

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

16 Feb 2022, 19:26

Thanks jsantos. I will work on a reproduction project!
 
User avatar
stonstad
Topic Author
Posts: 263
Joined: 06 Jun 2016, 18:14
Location: United States
Contact:

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

16 Feb 2022, 20:07

 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

16 Feb 2022, 21:42

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.
 
User avatar
stonstad
Topic Author
Posts: 263
Joined: 06 Jun 2016, 18:14
Location: United States
Contact:

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

16 Feb 2022, 23:09

Perfect, thank you!
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: GamePad Repeat Rate and Analog Thumbstick Behavior?

22 Feb 2022, 10:48

We just fixed for the next release, marking this as solved.

Who is online

Users browsing this forum: No registered users and 5 guests