]> git.proxmox.com Git - mirror_qemu.git/commit
ui/win32-kbd-hook: handle AltGr in a hook procedure
authorVolker Rümelin <vr_qemu@t-online.de>
Sat, 16 May 2020 07:20:04 +0000 (09:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 19 May 2020 07:06:44 +0000 (09:06 +0200)
commit2df9f5718df7722924699a3754f99165e2f4ae35
treec170cfdabe16d48cee73228963f97d4169e986dd
parentdebe78ce14bf8f8940c2bdf3ef387505e9e035a9
ui/win32-kbd-hook: handle AltGr in a hook procedure

Import win32 keyboard hooking code from project spice-gtk. This
patch removes the extra left control key up/down input events
inserted by Windows for the right alt key up/down input events
with international keyboard layouts. Additionally there's some
code to grab the keyboard.

The next patches will use this code.

Only Windows needs this.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-id: 20200516072014.7766-1-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/win32-kbd-hook.h [new file with mode: 0644]
stubs/Makefile.objs
stubs/win32-kbd-hook.c [new file with mode: 0644]
ui/Makefile.objs
ui/win32-kbd-hook.c [new file with mode: 0644]