On Sun Dec 21 23:15:01 2025 +0000, Byeongsik Jeon wrote:
I am reporting that the current implementation slightly differs from the Windows AltGr key behavior. 1. Examining the lparam of the WM_KEYDOWN:wparam=VK_CONTROL message reveals that the injected key is LeftControl. 2. If the LeftControl key is already pressed, the key is not injected. 3. If the RightControl key is already pressed, the VK_CONTROL WM_KEYUP message (not WM_SYSKEYUP) is injected only upon AltGr key release. 4. Examining the RAWKEYBOARD data in the WM_INPUT message, data.keyboard.MakeCode and Flags are the RightAlt value (0x38, RI_KEY_E0). The key's data.keyboard.VKey value is VK_CONTROL. Any chance this bug will get resolved? It leaves RAlt unusable on US keyboards. For certain applications that distinguish LAlt and RAlt, that results in default keybindings for RAlt not working (which can be quite a lot of keybindings).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9802#note_143685