From nobody Mon Apr 29 11:53:33 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528934011869202.0943267113978; Wed, 13 Jun 2018 16:53:31 -0700 (PDT) Received: from localhost ([::1]:37366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTFZp-00007P-95 for importer@patchew.org; Wed, 13 Jun 2018 19:53:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTFYn-0008Fp-Rh for qemu-devel@nongnu.org; Wed, 13 Jun 2018 19:52:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTFYk-0001kx-Mh for qemu-devel@nongnu.org; Wed, 13 Jun 2018 19:52:17 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:46892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTFYk-0001gy-FG for qemu-devel@nongnu.org; Wed, 13 Jun 2018 19:52:14 -0400 Received: by mail-qt0-x244.google.com with SMTP id h5-v6so4154877qtm.13 for ; Wed, 13 Jun 2018 16:52:14 -0700 (PDT) Received: from Kenos-MBP-4.hsd1.ma.comcast.net (c-66-31-201-153.hsd1.ma.comcast.net. [66.31.201.153]) by smtp.gmail.com with ESMTPSA id v56-v6sm3346181qtv.50.2018.06.13.16.52.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Jun 2018 16:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juliacomputing-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=lCsKF/FNNYOg9nZapiFqqJWLSG1rMPn1t/Nkgyasq0I=; b=bZsTTSlI0Zq5gJCmeyept58JYMD50EbYNqEoUjrHACoDf4gJWAM06K1kDBwO7mPv+I qI1PYuJzx2C4GGsW48SMSelhqSG+Et3OdEh4GLxpGY10mBhKw4TIt8/H7p+vonJctA7G 1piaFXSXDOOtGoixMAecF2vFSyskG8TlaL5AxtSubhYHyds4V3hSkr2cgJp65nWFZbIa NexOh6O/DEAXP0UF1ZI7oPeZSwa1WJ0J0J1UIxqj2E1ldQ0nNhLC9gAY+9Qjv4NjsFFq eFiR/qUJ5DMpBKnGGW8fLI4YBe4wiNCM7oEFieG6dubTFidpXSEfHLmA8vwxiZbvHog9 hQKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lCsKF/FNNYOg9nZapiFqqJWLSG1rMPn1t/Nkgyasq0I=; b=UanLiNp9n4Hsu43P//2k20F+Ga0hZIarQi5asnQEGu6W5/b+SWa4yUcmukaSyBQlRJ UL+WSPsFvN7JLThBQ/c1EoLMapYfzxadz+KAQruqsxskcukblVE8B6QHvMPQubs7b8Wt NjHAXvWAtCbpoc/7VGhAIN+UaV/5M3QkrM6Il/Moyw/FznRTrWGgpDrjCy+HUDUT2+os o9vTKyiu/hGxofL/r2bq4p+/vgsOA39CehC5UP0rz+OjUf2PmuuLUL9sH8jv+qNY+U+u OQ5BbpFvqo9130+SwP+opSKbEqVDWKm+mI49G0bxUXwwtyW1TI1UIdN4PE8u8w4F6Xab BjmQ== X-Gm-Message-State: APt69E0wz1Cq5AS9OprQdV1B4lKUUlnp/EVM8yYyEpqIvCNrosYuf0wa 6i2Cv91t5RQrRxBvSWJim1LfT1A39p8= X-Google-Smtp-Source: ADUXVKKRCrwRb3yhZo7HFluRjxgW7QqqC+JQe1OLezCdWSwzdzZj/z9RC5xQkqVtKVwYJ1+qquAxlw== X-Received: by 2002:a0c:964e:: with SMTP id 14-v6mr252510qvy.98.1528933933272; Wed, 13 Jun 2018 16:52:13 -0700 (PDT) From: Keno Fischer To: qemu-devel@nongnu.org Date: Wed, 13 Jun 2018 19:51:56 -0400 Message-Id: <1528933916-40670-1-git-send-email-keno@juliacomputing.com> X-Mailer: git-send-email 2.8.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH] ui: darwin: gtk: Add missing input keymap X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Keno Fischer Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" In appears the input keymap for osx was forgotten in the commit that converted the gtk frontend to keycodemapdb. Add it. Fixes: 2ec78706 ("ui: convert GTK and SDL1 frontends to keycodemapdb") CC: Daniel P. Berrange Signed-off-by: Keno Fischer Reviewed-by: Daniel P. Berrang=C3=A9 --- Makefile | 1 + include/ui/input.h | 3 +++ ui/input-keymap.c | 1 + 3 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 6a5fff0..1e79914 100644 --- a/Makefile +++ b/Makefile @@ -322,6 +322,7 @@ KEYCODEMAP_FILES =3D \ ui/input-keymap-xorgkbd-to-qcode.c \ ui/input-keymap-xorgxquartz-to-qcode.c \ ui/input-keymap-xorgxwin-to-qcode.c \ + ui/input-keymap-osx-to-qcode.c \ $(NULL) =20 GENERATED_FILES +=3D $(KEYCODEMAP_FILES) diff --git a/include/ui/input.h b/include/ui/input.h index 16395ab..34ebc67 100644 --- a/include/ui/input.h +++ b/include/ui/input.h @@ -116,4 +116,7 @@ extern const guint16 qemu_input_map_xorgxquartz_to_qcod= e[]; extern const guint qemu_input_map_xorgxwin_to_qcode_len; extern const guint16 qemu_input_map_xorgxwin_to_qcode[]; =20 +extern const guint qemu_input_map_osx_to_qcode_len; +extern const guint16 qemu_input_map_osx_to_qcode[]; + #endif /* INPUT_H */ diff --git a/ui/input-keymap.c b/ui/input-keymap.c index 87cc301..db5ccff 100644 --- a/ui/input-keymap.c +++ b/ui/input-keymap.c @@ -21,6 +21,7 @@ #include "ui/input-keymap-xorgkbd-to-qcode.c" #include "ui/input-keymap-xorgxquartz-to-qcode.c" #include "ui/input-keymap-xorgxwin-to-qcode.c" +#include "ui/input-keymap-osx-to-qcode.c" =20 int qemu_input_linux_to_qcode(unsigned int lnx) { --=20 2.8.1