Open ctr opened 6 years ago
Good analysis. I have this same problem, associated it with not properly checking Windows Key state on unlock, but didn't consider that the problem may be a residual state from Window Key + (L)ock, which I also use frequently.
I use 3RVX as a volume control on a Windows 10 Pro 64-bit system. My volume shortcut is set to WINDOWS KEY + mouse wheel Up / Down. This works fine normally.
But: If I lock my desktop with WINDOWS KEY + L, and then unlock by entering my password, when I next scroll the mouse wheel the volume changes up/down. It should not change because I am not still holding the WINDOWS KEY. It seems that 3RVX has not detected the release of the WINDOWS KEY after I locked my screen.
Workaround: If I press and release the WINDOWS KEY then 3RVX works properly again, i.e. the volume only changes when the WINDOWS KEY is held and the mouse wheel is scrolled at the same time.
Can you add some code to the hotkey routines to check the current status of the WINDOWS KEY (and other accelerator keys) to fix this?