InputManager icon indicating copy to clipboard operation
InputManager copied to clipboard

Keyboard Keys has delay issues with Running Script, but when I use the ARROW Keys, the problem is gone

Open SpiritofVengeance opened this issue 4 years ago • 2 comments

Hi everyone, I've tried to use the Input Manager in one of my old games to add controller support. I have an issue when I bind keyboard keys like Letters and Number pad (Binding 04 in the Image attached below), the animation of my Player script won't stop running, and after a few seconds (around 3-5 sec) the Player will return to its Idle state. But when I use ANY buttons using the Arrow Keys (Binding 03, same settings as Binding 04), when I let go of the key, the Player will return to Idle state and there are no trace of delay issues from Keyboard controls (Binding 04).

Note: Binding 03 and 04 uses the same Movement script, and yet the letter and number keys kinda acts like an Analog for some reason.

InputManager.GetAxis("Horizontal");

1

SpiritofVengeance avatar Jun 22 '21 05:06 SpiritofVengeance

I fixed the Issue for some reason, I changed Active Input Handling back to Unity's build-in Input Manager (old) and the Keyboard controls finally stopped slipping

1 .

SpiritofVengeance avatar Jun 22 '21 11:06 SpiritofVengeance

Close the issue @SpiritofVengeance ?

rafaeldolfe avatar Oct 13 '22 14:10 rafaeldolfe