From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOlBP-0005Nh-Mi for qemu-devel@nongnu.org; Tue, 12 Dec 2017 09:05:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOlBK-0004yR-32 for qemu-devel@nongnu.org; Tue, 12 Dec 2017 09:05:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34018) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOlBJ-0004wp-Tx for qemu-devel@nongnu.org; Tue, 12 Dec 2017 09:05:14 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EFC032CE928 for ; Tue, 12 Dec 2017 14:05:11 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 12 Dec 2017 14:04:55 +0000 Message-Id: <20171212140459.2234-1-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v6 0/4] Convert frontends to use keycodemapdb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , "Daniel P. Berrange" This is a followup to v1: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02047.html v2: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02471.html v3: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02517.html v4: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02708.html v5: https://lists.nongnu.org/archive/html/qemu-devel/2017-09/msg02950.html This new series contains just the patches for converting the ui frontends for SDL1, SDL2, and GTK to use keycodemapdb. The particularly notable benefit is that this includes fixes such that SDL1 and GTK2/3 can actually work when using a non-Linux host Xorg/X11 server. Previously it would display but key handling was complete garbage, making it unusable in practice. Daniel P. Berrange (4): ui: convert the SDL2 frontend to keycodemapdb ui: convert GTK and SDL1 frontends to keycodemapdb ui: add fix for GTK Pause key handling on Win32 ui: ignore hardware keycode 255 on win32 Makefile | 8 ++ include/ui/input.h | 24 +++++ ui/Makefile.objs | 5 +- ui/gtk.c | 217 +++++++++++++++++++++++++++---------------- ui/input-keymap.c | 8 ++ ui/sdl.c | 105 +++++++-------------- ui/sdl2-input.c | 16 +++- ui/sdl2-keymap.h | 267 ----------------------------------------------------- ui/trace-events | 9 +- ui/x_keymap.c | 250 +++++++++++++++++++------------------------------ ui/x_keymap.h | 8 +- 11 files changed, 328 insertions(+), 589 deletions(-) delete mode 100644 ui/sdl2-keymap.h -- 2.14.3