Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item Bind)

Questions about Wine on Linux
Locked
Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item Bind)

Post by Mumbo »

Hi.
I spent the whole last night trying to get my mousebutton 8 and 9 working for items in Wc3. To use them there, i need a way to bind Numkey 7 & 8 to them.
Problem: Whatever i try to bind those numkeys onto my mouse, warcraft III under wine won't care for me pressing them at all.

I tried xvkbd, xdotools, and xautomation till now-
i got it to work in the wine-notepad correctly with all of them but it seems that the emulated input is just ignored.
My current xbindkeys:

Code: Select all

"/usr/bin/xvkbd -true-keypad -text "\[KP_Home]""
m:0x0 + b:8 

"/usr/bin/xvkbd -true-keypad -text "\[KP_Up]""
m:0x0 + b:9
Any ideas what i could do?
Emulating an virtual Desktop for wc3 didn't helped, and i can't imagine that another program to emulate the keystrokes would help :/
Sys is OpenSuse 12.2 64bit, Wine Verion is 1.5.6
Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by Mumbo »

Hmm, since i can't edit my post:
I just saw that this is a known but yet not confirmed bug.
Are there any workarounds (though i didn't found any till now), and is there a chance the problem gets fixed?
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by dimesio »

Do you mean bug 19542? That bug report hasn't been updated in over 2 years, and no one was able to reproduce the problem.

Your Wine version is old; try the latest development release.
Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by Mumbo »

dimesio wrote:Do you mean bug 19542? That bug report hasn't been updated in over 2 years, and no one was able to reproduce the problem.
Mainly about bug 20610.
I managed it to reproduce this one on two Open-Suse Comps allrdy :(
Step to Step:
Install wine on a 64 bit OpenSuse machine, install wc3 and try to emulate numpad-keystrokes to wc3 using xvkbd, xautomation, or xdotool.
As far as i can see, the guys there got it working for the normal text-
this doesn't work here either, not even for keys like "a" etc.

I found different threads were this problem appeared (were even a few more, i searched nearly the whole last night):
http://www.winehq.org/pipermail/wine-bu ... 28930.html
http://www.winehq.org/pipermail/wine-us ... 63454.html
Your Wine version is old; try the latest development release.
Just tried 1.5.23 and a snapshot version-
same result for both.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by dimesio »

Mumbo wrote: Mainly about bug 20610.
Add your info to the bug report. There's also a request there for a +key,+keyboard,+x11drv,+event log that no one ever provided; you could attach one.
Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by Mumbo »

dimesio wrote:
Mumbo wrote: Mainly about bug 20610.
Add your info to the bug report. There's also a request there for a +key,+keyboard,+x11drv,+event log that no one ever provided; you could attach one.
With joy.
Whats the best way to create those logs?
Would

Code: Select all

wine "Frozen Throne.exe" -opengl WINEDEBUG=+key > key.log +keyboard > key.log +x11drv > x11drv.log +event > event.log
work? Can't test it out today.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by dimesio »

Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Re: Xbindkeys - Ignored by OpenGL progs in wine? (Wc3 Item B

Post by Mumbo »

Okay, posted the log.
Thanks for your support.

Is there anything else i can do except waiting?
Mumbo
Level 1
Level 1
Posts: 6
Joined: Mon Feb 11, 2013 8:23 am

Victory!

Post by Mumbo »

Sweet Victory, aka "setting the -windowed" parameter"!
However, is there a way to get wc3 fullscrened when startet with the "-windowed" parameter under xfce4?
Locked