Input Lag Due to Keyboard Manager
Environment
Windows build number: [10.0.18363.900]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager
Steps to reproduce
*Have Keyboard Manager Enabled *Use Keyboard and record keystroke input vs registration on computer
*Potentially have intensive tasks running: Issue was initially noticed when playing the shooter game Valorant, but not as noticeable when performing other normal tasks.
Expected behavior
*Keystrokes register on computer at the same time as registered on keyboard
Actual behavior
*Input delay lasting multiple seconds.
Screenshots
Hi @thesaadsalman, how many key/shortcut remappings did you have? Not sure if this could be happening because of Valorant's new anti cheat which runs at the driver level for some reason conflicting with Keyboard Manager.
*Use Keyboard and record keystroke input vs registration on computer
Do you mean just pressing/keys in some text editor or something like that?
*Potentially have intensive tasks running: Issue was initially noticed when playing the shooter game Valorant, but not as noticeable when performing other normal tasks.
Is it only happening for Valorant or even other games? And when you say its not as noticeable when performing other normal tasks, are you still able to feel the delay?
I didn't have any key/shortcut re-mappings.
Keys in a text editor didn't really seem to show the issue - when outside of Valorant specifically I did not notice any delay on keystrokes. I'll test out the issue in some other games and get back to you.
Follow-Up: I tried some other games and didn't notice any input lag issues in them, so this could be centralized to Valorant possibly. Also, it seems like it isn't just an issue with Keyboard Manager, as the issue still persisted, just not to as high a degree, unless I fully turned off the program via Task Manager.
marking closed no repro then
I am sorry to comment on a closed issue, but I have been able to successfully reproduce your problem - not only that, but it happens every time I boot my computer. It stops once PowerToys has been stopped via Task Manager. I don't play Valorant, but it can be noticed on many other games and even on Notepad.
@GabrielTK please create a new issue so we can't follow up and get updated details
@GabrielTK, I noticed that as well. Could you link your issue so I don't open a duplicate? In my case, it happens on a game as well and the lag depends on how long you were pressing a key.
Lets say you need to go forward. Just touch W and release, it will do as intended. But if you hold W and release after a while, the character will keep going forward for longer than should.
Also, if you are going forward and then hit a key for jumping, it will take some time to register the jump, while if you are still, it would jump almost immediately.
Both Keyboard Manager and Shortcut Guide are off. I downloaded PowerToys for the first time today, so I'm on the latest version (0.36)
I had this issue before without PowerToys on another PC and on another game. It seems that the game is registering holding down the key as repeatedly hitting the key instead of just holding down, which ends up putting the commands in a sort of queue that slows down the processing. Not sure if this is what PowerTools is doing to the game though. Might be a clue.
Edit:
Maybe related to this? https://github.com/microsoft/PowerToys/pull/3825#issuecomment-637741662
this happens to me too, it really only happens when i'm using a lot of my cpu like if i'm playing rainbow six siege or minecraft with shaders. i fixed it by closing powertoys but i don't like doing that
Reviving this closed issue.
a consistent way to repro is open a notepad. and start smashing as many keys are you can, the stutter/delay will happen once in a while, normally 10sec+ but less than 30 secs.
Keyboard + manager = Razer Huntsman Elite + Razer Synapse.
Once powertoys is closed. issue is gone. Reopened, issue returns.
I've seen this too, during intensive writing sessions and playing Overwatch. I don't have any mappings but the option was enabled. I have done gaming only after closing all apps as soon as I noticed it but I think I have now narrowed it down to PowerToys.
Still not fixed it seems.
@ronilaukkarinen that is tracked via https://github.com/microsoft/PowerToys/issues/13620. Eta is December
OK, thanks!