http://bugs.winehq.org/show_bug.cgi?id=20610
Summary: xmodmap numpad realigning unrecognized by Wine Product: Wine Version: 1.1.32 Platform: PC URL: http://forum.winehq.org/viewtopic.php?t=6682 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: samyazza@gmail.com
Created an attachment (id=24584) --> (http://bugs.winehq.org/attachment.cgi?id=24584) What appears in the console when I launch a new game in WC3.
I have remapped the numpad keys using xmodmap to play Warcraft III, since some of the keyboard shortcuts cannot be changed from within the game. I wrote a simple script:
xmodmap -e "keycode 10 = KP_7" xmodmap -e "keycode 11 = KP_8" xmodmap -e "keycode 12 = KP_4" xmodmap -e "keycode 13 = KP_5" xmodmap -e "keycode 14 = KP_1" xmodmap -e "keycode 15 = KP_2"
wine 'Frozen Throne.exe' -opengl
xmodmap -e "keycode 10 = 1" xmodmap -e "keycode 11 = 2" xmodmap -e "keycode 12 = 3" xmodmap -e "keycode 13 = 4" xmodmap -e "keycode 14 = 5" xmodmap -e "keycode 15 = 6"
Running Warcraft with this script doesn't change anything though, except for several "fixmes" appearing in the console (log attached).
OS: Ubuntu 8.10 Wine version: wine-1.1.32
I know there's a bug with the whole keyboard controlled mouse cursor thingy in Ubuntu 8.10. I have that turned off, just as it should be, so it's not the issue.
http://bugs.winehq.org/show_bug.cgi?id=20610
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24584|application/octet-stream |text/plain mime type| | Attachment #24584|consoleprintout |consoleprintout.txt filename| |
http://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-11-08 04:12:20 --- Did you verify with xev that your key remapping really works? Also +key, +keyboard,+x11drv,+event log could help to diagnose the problem.
http://bugs.winehq.org/show_bug.cgi?id=20610
Brian iamsmrtk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iamsmrtk@gmail.com
--- Comment #2 from Brian iamsmrtk@gmail.com 2010-05-12 11:33:18 --- I'm experiencing a similar problem in which I have remapped a few of my numpad keys (see attached .xmodmap file). Through xev, I have confirmed that the keys are actually remapped.
I'm testing this out in Warcraft III: The Frozen Throne and I'm getting some strange behavior. Whenever I can enter text (e.g. chatting), the remapped keys work and perform as expected. However, within actual gameplay, the remapped keys do not work and seem to output the standard keys. For example, if I try "CapsLock (Mode_switch in my case) + q", it will output just "q". I have also attached the wine output but there didn't seem to be anything of interest there. I'd be glad to provide any additional information if needed.
http://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #3 from Brian iamsmrtk@gmail.com 2010-05-12 11:36:23 --- Created an attachment (id=27893) --> (http://bugs.winehq.org/attachment.cgi?id=27893) .xmodmap file for remappping keys
http://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #4 from Brian iamsmrtk@gmail.com 2010-05-12 11:36:55 --- Created an attachment (id=27894) --> (http://bugs.winehq.org/attachment.cgi?id=27894) Wine output after launching Warcraft 3
http://bugs.winehq.org/show_bug.cgi?id=20610
Plague 4plague@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |4plague@gmail.com
--- Comment #5 from Plague 4plague@gmail.com 2011-02-05 13:08:11 CST --- I have the same problem with wine. I remapped one key to another (xmodmap -e "keycode 48 = equal", i.e. the backward apostrophe to an equal sign. It works in xterm, but not wine.
http://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #6 from Mumbo tyrfing@mail.ru 2013-02-12 13:12:52 CST --- Created attachment 43532 --> http://bugs.winehq.org/attachment.cgi?id=43532 Mumbo delivers buglog. Tell me if you need more data or smth
Key/x11drv/Keyboard/Event log.
http://bugs.winehq.org/show_bug.cgi?id=20610
Mumbo tyrfing@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyrfing@mail.ru
--- Comment #7 from Mumbo tyrfing@mail.ru 2013-02-12 13:16:20 CST --- Got a similiar or the same problem: The bindings i have made work in basically all linux programs & @ the editor in wine, but not at Wc3. My xbindkey atm: "/usr/bin/xvkbd -true-keypad -text "[KP_Home]"" m:0x0 + b:8
"/usr/bin/xvkbd -true-keypad -text "[KP_Up]"" m:0x0 + b:9
-> works as intended under the Editor, doesn't do anything in wine. Added a log as asked above.
Also, here is a thread i created about the problem: http://forum.winehq.org/viewtopic.php?f=8&t=18294
Greetings, Mumbo
http://bugs.winehq.org/show_bug.cgi?id=20610
Tomáš Hnyk tomashnyk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomashnyk@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #8 from Ken Sharp imwellcushtymelike@gmail.com --- Does this still occur in Wine 1.7.11 or later?
https://bugs.winehq.org/show_bug.cgi?id=20610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Ken Sharp from comment #8)
Does this still occur in Wine 1.7.11 or later?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #10 from Tomáš Hnyk tomashnyk@gmail.com --- I just tried with 1.7.34 (from Ubuntu's PPA) and it still does not work, would you please reopen?
https://bugs.winehq.org/show_bug.cgi?id=20610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=20610
--- Comment #12 from Tomáš Hnyk tomashnyk@gmail.com --- Hey, Austin English, I wrote two days ago that I tried to reproduce the bug with wine 1.7.34 and the xmodmapd modifications are still not taken into account. Would you please reopen?
https://bugs.winehq.org/show_bug.cgi?id=20610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|ABANDONED |--- Ever confirmed|0 |1
--- Comment #13 from Austin English austinenglish@gmail.com --- (In reply to Tomáš Hnyk from comment #12)
Hey, Austin English, I wrote two days ago that I tried to reproduce the bug with wine 1.7.34 and the xmodmapd modifications are still not taken into account. Would you please reopen?
Strange, it shouldn't have been in the bugzilla search then. Reopening.
https://bugs.winehq.org/show_bug.cgi?id=20610
Simon.Schwendele@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Simon.Schwendele@gmx.de
--- Comment #14 from Simon.Schwendele@gmx.de --- Can still reproduce this bug in 2017 :( I'm desperately trying to get my mouse working in "World of Warcraft TBC 2.4.3"
Currently I am using xbindkeys with xdotools to get my M.M.O 7 to work with .xbindkeysrc containing 10 of these lines:
"xdotool key --clearmodifiers adiaeresis" b:10
Well in Wow I can Alt+Tab for it to work for 2-3 keypresses but that's not an option.
A little (not really) workaround is having multiple Screens. I don't know why, but when I use multiple Screens it appears to work just fine..
The Terminal output yet is the same for both