1
NGUI 3 Support / UIKeyNavigation erratic behaviour (registering too many key presses?)
« on: June 10, 2014, 02:10:57 AM »
Hi!
I already asked this directly on the UIKeyNavigation documentation thread but I will add it here in case it gets more visibility and can help others.
I'm having a weird issue with key navigation. I have 4 buttons, the menu works fine with mouse. Now that I added UIKeyNavigation to them I can select them also with keyboard. All fine until here. But the input seems to be too sensitive as I get erratic behaviour. Only if I press (and depress) the keys really, really fast I get the correct behaviour. Otherwise the focus changes to a random button (sometimes even the same one that was already on focus). It looks as if registering many key presses when only doing it once.
Any ideas?
I already asked this directly on the UIKeyNavigation documentation thread but I will add it here in case it gets more visibility and can help others.
I'm having a weird issue with key navigation. I have 4 buttons, the menu works fine with mouse. Now that I added UIKeyNavigation to them I can select them also with keyboard. All fine until here. But the input seems to be too sensitive as I get erratic behaviour. Only if I press (and depress) the keys really, really fast I get the correct behaviour. Otherwise the focus changes to a random button (sometimes even the same one that was already on focus). It looks as if registering many key presses when only doing it once.
Any ideas?