I spoiled some water over my keyboard, and now periodically the right arrow key is activated without me pressing it (e.g. PDFs jump one page ahead, YouTube skips 5s, etc). I used an online keylogger (http://unixpapa.com/js/testkey.html) to verify that it is the right arrow key (keyCode=39) with a fast keydown and keyup signal. I therefore tried to disable it using Autohotkey like:
(following this solution)
But to no avail. Ideally, I would like to only have Right arrow registered if it is pressed longer than e.g. 0.5s , but in the worst case I accept totally turning it off (then I can remap
Any help is much appreciated!
Edit: At the moment, my script looks like this:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SC063::Pause +BS::Del ^BS::run, taskmgr Right::return