[Bug 35469] New: French keyboard recognized as an US/UK keyboard
http://bugs.winehq.org/show_bug.cgi?id=35469 Bug ID: 35469 Summary: French keyboard recognized as an US/UK keyboard Product: Wine Version: 1.7.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs(a)winehq.org Reporter: berillions(a)gmail.com Classification: Unclassified Created attachment 47342 --> http://bugs.winehq.org/attachment.cgi?id=47342 WINEDEBUG=+event,+key,+keyboard,+x11drv Hi, When i play at more game with Wine, my French keyboard (AZERTY) is not recognized correctly. In fact, when i want to change the command settings in-game, my 'AZERTY' keyboard is recognized as an US/UK keyboard (QWERTY). For example, for each Assassin's Creed games, FarCry 3 etc... 'A' key on my keyboard = 'Q' key in-game. Same thing with 'Z' key = 'W' key in-game. As explained by Dmitry, i did two tests : 1- wine notepad and type 'qwerty'/'azerty' 2- setxkbmap fr, wine notepad and type 'qwerty'/'azerty' These both tests works without problem. Notepad recognized my keyboard as a French keyboard. I attach a debug did with the 1st step. Thanks, Max -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #1 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- Please attach the log for the actual application with the problem instead of notepad (using same debug channels). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 Berillions <berillions(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47342|0 |1 is obsolete| | --- Comment #2 from Berillions <berillions(a)gmail.com> --- Created attachment 47345 --> http://bugs.winehq.org/attachment.cgi?id=47345 WINEDEBUG=+event,+key,+keyboard,+x11drv from ACR Hi Dmitry, Legend : "Real key from my keyboard"("Key recognized by the game") I launch the debug log with Assassin's Creed Revelations. I modified only the key for "move forward" action. Initially, this action use this key "Z"("W"). I did this change : "Z"("W") -> "W"("Z") -> "Z"("W") I read the log and it's very strange because at the end of the file, the press event key is exactly "W" and "Z". So for me, Wine itself recognized correctly the key but not the game ... (I think) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #3 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to comment #2)
I read the log and it's very strange because at the end of the file, the press event key is exactly "W" and "Z". So for me, Wine itself recognized correctly the key but not the game ... (I think)
I don't see anything wrong in the log. Did you test the game under Windows, does it correctly recognize key presses with the AZERTY keyboard layout? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #4 from Berillions <berillions(a)gmail.com> --- (In reply to comment #3)
(In reply to comment #2)
I read the log and it's very strange because at the end of the file, the press event key is exactly "W" and "Z". So for me, Wine itself recognized correctly the key but not the game ... (I think)
I don't see anything wrong in the log. Did you test the game under Windows, does it correctly recognize key presses with the AZERTY keyboard layout?
There are no problems on Windows Seven, the game recognized correctly the key presses with the AZERTY keyboard... ("Z"="Z" and "A"="A" etc...) I don't understand the problem with the game here ... On keyboard options in Gnome 3 settings, i have only the French Keyboard... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #5 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to comment #4)
I don't understand the problem with the game here ... On keyboard options in Gnome 3 settings, i have only the French Keyboard...
Does adding en (English (US)) layout using your Gnome 3 keyboard layout manager and switching to it help as a workaround? You can also use just 'setxkbmap en' and 'setxkbmap fr' to switch between layouts from the xconsole. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #6 from Berillions <berillions(a)gmail.com> --- (In reply to comment #5)
(In reply to comment #4)
I don't understand the problem with the game here ... On keyboard options in Gnome 3 settings, i have only the French Keyboard...
Does adding en (English (US)) layout using your Gnome 3 keyboard layout manager and switching to it help as a workaround? You can also use just 'setxkbmap en' and 'setxkbmap fr' to switch between layouts from the xconsole.
Even if i do "setxkbmap us" in xconsole, the game still recognize my keyboard as a QWERTY kerboard. I remarked a strange thing, these applications recognize correctly my french keyboard : - winecfg - wine regedit - Steam - Ubisoft Uplay - Firefox Windows - EA Origin. I have this problem ONLY when i play at Windows games, if it's not a game, i haven't this problem. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 --- Comment #7 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- If the game uses dinput it might suffer from the regression reported in the bug 15350. I don't know how easy it would be to revert the patch that caused the regression there, but it's worth a try. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35469 Berillions <berillions(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #8 from Berillions <berillions(a)gmail.com> --- (In reply to comment #7)
If the game uses dinput it might suffer from the regression reported in the bug 15350. I don't know how easy it would be to revert the patch that caused the regression there, but it's worth a try.
Thanks Dmitry, I used the patch present in the bug report to revert the original patch from Aric and it works. The right keys are recognized correctly. I think that i can close this bug report that a duplicate of the bug 15350. I'll post a message to prevent that the bug still exist with my games. *** This bug has been marked as a duplicate of bug 15350 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=35469 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Bruno Jesus <00cpxxx(a)gmail.com> --- Closing duplicate. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org