From b7812bbbb66d19abf7d3fc3c4f34620a646ce429 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Fri, 29 Jul 2022 15:21:56 +0200 Subject: [PATCH] Add missing characters with diacritics to the WASM mapping table There are three characters with diacritics that have been missing from the mapping table+ I acute, I grave and Y acute. Added those to the mapping table in QWasmEventTranslator. Pick-to: 6.4 Change-Id: Iab53e79b84cee39e4a050b05b9eff54f3ad64f6c Reviewed-by: David Skoland --- src/plugins/platforms/wasm/qwasmeventtranslator.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp index 758e6c2da5..d99d9f7d9a 100644 --- a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp +++ b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp @@ -134,8 +134,10 @@ static constexpr const auto DeadKeyShiftTbl = qMakeArray( Emkb2Qt< Qt::Key_Eacute, '\xc3','\x89' >, Emkb2Qt< Qt::Key_Ecircumflex, '\xc3','\x8a' >, Emkb2Qt< Qt::Key_Ediaeresis, '\xc3','\x8b' >, + Emkb2Qt< Qt::Key_Iacute, '\xc3','\x8d' >, Emkb2Qt< Qt::Key_Icircumflex, '\xc3','\x8e' >, Emkb2Qt< Qt::Key_Idiaeresis, '\xc3','\x8f' >, + Emkb2Qt< Qt::Key_Igrave, '\xc3','\x8c' >, Emkb2Qt< Qt::Key_Ocircumflex, '\xc3','\x94' >, Emkb2Qt< Qt::Key_Odiaeresis, '\xc3','\x96' >, Emkb2Qt< Qt::Key_Ograve, '\xc3','\x92' >, @@ -148,7 +150,8 @@ static constexpr const auto DeadKeyShiftTbl = qMakeArray( Emkb2Qt< Qt::Key_Uacute, '\xc3','\x9a' >, Emkb2Qt< Qt::Key_Ntilde, '\xc3','\x91' >, Emkb2Qt< Qt::Key_Ccedilla, '\xc3','\x87' >, - Emkb2Qt< Qt::Key_ydiaeresis, '\xc3','\x8f' > + Emkb2Qt< Qt::Key_ydiaeresis, '\xc3','\x8f' >, + Emkb2Qt< Qt::Key_Yacute, '\xc3','\x9d' > >::Data{} );