From 350902f1cd631ae2387e4c9308c905abf618085d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Mon, 10 May 2021 19:26:47 +0200 Subject: =?UTF-8?q?wasm:=20map=20named=20key=20attribute=20=E2=80=9CMeta?= =?UTF-8?q?=E2=80=9D=20to=20Qt::Key=5FMeta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This value is sent by Apple keyboards, and was missing from the table. Change-Id: I49ad7ea74f2571c60ee9f2547468777b1f4585d8 Reviewed-by: Tor Arne Vestbø Reviewed-by: Lorn Potter --- src/plugins/platforms/wasm/qwasmeventtranslator.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/wasm/qwasmeventtranslator.cpp') diff --git a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp index 055985c9fc..5b1201b5e5 100644 --- a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp +++ b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp @@ -107,6 +107,7 @@ static constexpr const auto KeyTbl = qMakeArray( Emkb2Qt< Qt::Key_PageDown, 'P','a','g','e','D','o','w','n' >, Emkb2Qt< Qt::Key_Shift, 'S','h','i','f','t' >, Emkb2Qt< Qt::Key_Control, 'C','o','n','t','r','o','l' >, + Emkb2Qt< Qt::Key_Meta, 'M','e','t','a'>, Emkb2Qt< Qt::Key_Meta, 'O','S'>, Emkb2Qt< Qt::Key_Alt, 'A','l','t','L','e','f','t' >, Emkb2Qt< Qt::Key_Alt, 'A','l','t' >, -- cgit v1.2.3