[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/1] SDL2: fix handling of the AltGr key on Windows again
From: |
Volker Rümelin |
Subject: |
[PATCH v2 0/1] SDL2: fix handling of the AltGr key on Windows again |
Date: |
Tue, 18 Apr 2023 08:52:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
Based-on: <20230417192139.43263-1-shentey@gmail.com>
([PATCH v2 0/2] SDL2 usability fixes)
Windows sends an extra left control key up/down input event for
every right alt key up/down input event for keyboards with
international layout. Since commit 830473455f ("ui/sdl2: fix
handling of AltGr key on Windows") QEMU uses a Windows low level
keyboard hook procedure to reliably filter out the special left
control key and to grab the keyboard on Windows.
SDL2 version 2.0.16 introduced its own Windows low level keyboard
hook procedure to grab the keyboard. When enabled with a grabbed
keyboard, this disables the special left control key filter and
handling of the AltGr key on Windows is broken again.
This patch fixes handling of the AltGr key on Windows with
international keyboard layout.
v2:
Fixed the cover letter subject, so that :patchew applies this
patch series to the correct QEMU branch.
Volker Rümelin (1):
ui/sdl2: disable SDL_HINT_GRAB_KEYBOARD on Windows
ui/sdl2.c | 3 +++
1 file changed, 3 insertions(+)
--
2.35.3
- [PATCH v2 0/1] SDL2: fix handling of the AltGr key on Windows again,
Volker Rümelin <=