InputSimulatorPlus icon indicating copy to clipboard operation
InputSimulatorPlus copied to clipboard

MENU key modifier not working with ModifiedKeyStroke() when French keyboard selected

Open jkaliem opened this issue 4 years ago • 0 comments

I recently discovered that specifying VirtualKeyCode.MENU as one of the modifier key codes for ModifiedKeyStroke() does not work when the French keyboard is selected as the Windows 10 input method. Using the utility KeyboardStateView, it appears that in this scenario VK_CONTROL+VK_ALT is being sent to the target application. When I change the Windows input method to English, this issue does not occur. I also found that specifying VirtualKeyCode.LMENU resolves this problem.

Is this VirtualKeyCode.MENU behavior with the French keyboard by design, or a bug? Thank you.

jkaliem avatar Sep 14 '21 17:09 jkaliem