ui/sdl2-input: Fix AltGr modifier on Windows hosts
commit556834dd7f9b28d83c2fbacca6d4d516b8fc1bab
authorBernhard Beschow <shentey@gmail.com>
Wed, 12 Apr 2023 20:34:25 +0000 (12 22:34 +0200)
committerStefan Weil <sw@weilnetz.de>
Thu, 13 Apr 2023 06:43:18 +0000 (13 08:43 +0200)
tree090063e9ad207a54b5fa4ea9b116c3f3f8c77e59
parent132117c911337dc8f5c9bab82a0edf504072c24d
ui/sdl2-input: Fix AltGr modifier on Windows hosts

Windows generates Ctrl + Alt_R for AltGr. By removing the Ctrl modifier Linux
guests see AltGr. This fixes e.g. the '~' key on German keyboards.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230412203425.32566-4-shentey@gmail.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
ui/sdl2-input.c