Page 1 of 1

Holding multiple hotkeys seems ruining key mapping

Posted: 11 Mar 2019, 23:04
by sonicfly
AutoHotKey version
Windows Version: Windows 10 Home Version 1803 (OS Build 17134.590)

I have a very simple script to map my left windows key to 'p' and left alt key to 'l' to avoid accidental clicks in game

Code: Select all

But I found, if run script and act as following
1. Open a text editor
2. press and hold LWin for several seconds (showing "ppppppppp")
3. press LAlt, then release LAlt (showing "l")
4. release LWin
Then the LWin mapping will get messed up, it seems making the 'LWin pressed' forever.
So, my LWin press triggers "LWin+p", which switches the screen projecting; my normal 'd' key triggers 'LWin+d', which shows the desktop.
It will continue until I quit the script running, then press and release the 'LWin' again! :headwall:

Re: Holding multiple hotkeys seems ruining key mapping

Posted: 12 Mar 2019, 09:38
by joefiesta
WARNING: do not try this at home

not without saving everything first!!!

I tried it and, sure enough, got the same results. But, it was worse. Stopping the SCRIPT did not undo the problem. I had to forcibly shutdown.

I am running AHK as well, but on Windows 7 Professional 32-bit.

btw: very nice, clear explanation of the problem Sonicfly.