mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated winex11-key_translation patchset
Fixed Russian layout.
This commit is contained in:
parent
154875b4e9
commit
3dc3c4e0e2
@ -7414,9 +7414,11 @@ fi
|
||||
if test "$enable_winex11_key_translation" -eq 1; then
|
||||
patch_apply winex11-key_translation/0001-winex11-Match-keyboard-in-Unicode.patch
|
||||
patch_apply winex11-key_translation/0002-winex11-Fix-more-key-translation.patch
|
||||
patch_apply winex11-key_translation/0003-winex11.drv-Fix-main-Russian-keyboard-layout.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Ken Thomases", "winex11: Match keyboard in Unicode.", 1 },';
|
||||
printf '%s\n' '+ { "Philippe Valembois", "winex11: Fix more key translation.", 1 },';
|
||||
printf '%s\n' '+ { "Ondrej Kraus", "winex11.drv: Fix main Russian keyboard layout.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
|
@ -0,0 +1,36 @@
|
||||
From 98aba5f3f2146d09c5beb453d7dfb493970535dc Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Kraus <neverberlerfellerer@gmail.com>
|
||||
Date: Wed, 12 Dec 2018 15:25:30 +0100
|
||||
Subject: [PATCH 2/2] winex11.drv: Fix main Russian keyboard layout
|
||||
|
||||
Now main_key_RU is properly detected for layout known in X as default Russian layout.
|
||||
---
|
||||
dlls/winex11.drv/keyboard.c | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
|
||||
index 7c7dd4335e..cd4ad570c3 100644
|
||||
--- a/dlls/winex11.drv/keyboard.c
|
||||
+++ b/dlls/winex11.drv/keyboard.c
|
||||
@@ -452,13 +452,13 @@ static const char main_key_BY[MAIN_LEN][4] =
|
||||
};
|
||||
|
||||
|
||||
-/*** Russian keyboard layout (contributed by Pavel Roskin) */
|
||||
+/*** Russian keyboard layout */
|
||||
static const char main_key_RU[MAIN_LEN][4] =
|
||||
{
|
||||
- "`~","1!","2@","3#","4$","5%","6^","7&","8*","9(","0)","-_","=+",
|
||||
- "qQ\xca\xea","wW\xc3\xe3","eE\xd5\xf5","rR\xcb\xeb","tT\xc5\xe5","yY\xce\xee","uU\xc7\xe7","iI\xdb\xfb","oO\xdd\xfd","pP\xda\xfa","[{\xc8\xe8","]}\xdf\xff",
|
||||
- "aA\xc6\xe6","sS\xd9\xf9","dD\xd7\xf7","fF\xc1\xe1","gG\xd0\xf0","hH\xd2\xf2","jJ\xcf\xef","kK\xcc\xec","lL\xc4\xe4",";:\xd6\xf6","'\"\xdc\xfc","\\|",
|
||||
- "zZ\xd1\xf1","xX\xde\xfe","cC\xd3\xf3","vV\xcd\xed","bB\xc9\xe9","nN\xd4\xf4","mM\xd8\xf8",",<\xc2\xe2",".>\xc0\xe0","/?"
|
||||
+ "\xb8\xa8","1!","2\"","3\xb9","4;","5%","6:","7?","8*","9(","0)","-_","=+",
|
||||
+ "\xe9\xc9","\xf6\xd6","\xf3\xd3","\xea\xca","\xe5\xc5","\xed\xcd","\xe3\xc3","\xf8\xd8","\xf9\xf9","\xe7\xc7","\xf5\xd5","\xfa\xda",
|
||||
+ "\xf4\xd4","\xec\xcc","\xfb\xdb","\xe2\xc2","\xe0\xc0","\xef\xcf","\xee\xce","\xeb\xcb","\xe4\xc4","\xe6\xc6","\xfd\xdd","\\/",
|
||||
+ "\xff\xdf","\xf7\xd7","\xf1\xd1","\xec\xcc","\xe8\xc8","\xf2\xd2","\xfc\xdc","\xe1\xc1","\xfe\xde",".,"
|
||||
};
|
||||
|
||||
/*** Russian keyboard layout (phantom key version) */
|
||||
--
|
||||
2.20.0
|
||||
|
Loading…
Reference in New Issue
Block a user