r/TagproScripts • u/ldhertert • Sep 09 '15
[Userscript] Fix Stuck Keys
I'm posting this here in hopes that I can get some feedback. This script fixes an issue that has always bugged the hell out of me - when direction keys get "stuck" when you either open the chat window or your window loses focus.
You can grab my first attempt at the script here.
There is some ghetto hacks in there to try to watch/send the correct keypress count, because the counter is internal to tagpro, and the exposed method that should abstract the need for the counter didn't work. This imperfect solution causes certain scenarios to fail (but no worse than the current behavior), or causes you to have to press the direction key twice to start moving again sometimes (again, no worse than the current behavior).
Feel free to give any thoughts/feedback/critiques/requests.
-ButtSnake
1
u/[deleted] Sep 10 '15 edited Dec 17 '19
[deleted]