AHK_X11 icon indicating copy to clipboard operation
AHK_X11 copied to clipboard

There is a problem with the key mapping logic

Open marsxw opened this issue 11 months ago • 1 comments

This is a great project! But I encountered a problem. For example, I mapped RAlt to key a, and ahk pressed a key on the window, which directly sent the corresponding key. However, this ahk released the original key first and then sent the target key, which caused the application to think it was alt+a.

RAlt::Send a

Image

marsxw avatar Jan 19 '25 13:01 marsxw

I'm not sure I follow here. If there is a Alt KeyUp event before the A KeyDown event, isn't that exactly what's supposed to happen?

I have no RAlt key, only a LAlt, and it works fine for me.

phil294 avatar Feb 19 '25 21:02 phil294