evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
708 stars 64 forks source link

SendKeyEvent does not work for arrow keys #16

Closed evilC closed 6 years ago

evilC commented 6 years ago

Reported in UCR thread by malcev

The following code in SendKeyEvent seems to be breaking sending of Up Arrow:

           if (code > 255)
            {
                code -= 256;
                state += 2;
            }

Commenting it out resolves, but I think this is needed to allow sending eg of Right Alt.