Re: [PATCH 10/10] ui/gtk: use native keyboard scancodes on Windows

2020-05-14 Thread Volker Rümelin
> since that time, we no longer support Debian Jessie, since Debian Buster > is now released. We also no longer support Ubuntu Xenial (16.04), since > we now only need Ubuntu Bionic (18.04) and Focal (20.04). > > So we can justify moving the minium Gtk in QEMU to 3.22 at this time. > > This will

Re: [PATCH 10/10] ui/gtk: use native keyboard scancodes on Windows

2020-05-12 Thread Daniel P . Berrangé
On Sun, May 10, 2020 at 08:43:04PM +0200, Volker Rümelin wrote: > 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

[PATCH 10/10] ui/gtk: use native keyboard scancodes on Windows

2020-05-10 Thread Volker Rümelin
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 positio