diff options
| author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2020-05-16 09:20:13 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-19 09:06:44 +0200 |
| commit | 145419274621f846385d35e609c051d4cbdd39a7 (patch) | |
| tree | 00a52a4325cff23cbe7337c3800b752db942fa23 /scripts/qapi/introspect.py | |
| parent | d3953bf7978521b6373cb8101f594cc44b0efa9e (diff) | |
| download | focaccia-qemu-145419274621f846385d35e609c051d4cbdd39a7.tar.gz focaccia-qemu-145419274621f846385d35e609c051d4cbdd39a7.zip | |
ui/gtk: use native keyboard scancodes on Windows
Since GTK 3.22 the function gdk_event_get_scancode() is available. On Windows this function returns keyboard scancodes and some extended flags. These raw keyboard scancodes are much better suited for this use case than the half-cooked win32 virtual-key codes because scancodes report the key position on the keyboard and the positions are independent of national language settings. Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de> Message-id: 20200516072014.7766-10-vr_qemu@t-online.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions