[Wine] Re: EVENT_event_to_vkey and keyc2vkey

tinku99 wineforum-user at winehq.org
Thu Sep 17 13:47:00 CDT 2009


vitamin wrote:
> 
> tinku99 wrote:
> > I am porting autohotkey.
> 
> Not sure what to tell you. Regular X windows and windows inside Wine are so tally different things not sure if you can even make it work.
> 
 The more important parts are already working.

vitamin wrote:
> Porting anything to work under Wine as a winelib is IMHO a huge waste of time.
Can I get you some KoolAid? (http://bugs.winehq.org/show_bug.cgi?id=11727#c10).  In a sense I am not porting anything, just adding some x11 related functionality. 
vitamin wrote:
> 
>  It'll make much more sense to have 2 separate programs - one for Wine/Windows another for Linux.
That's the beauty of winelib. My linux / gcc code compiles without winelib just fine, winelib just allows it to foreign function call code in AutoHotkey.dll.  

vitamin wrote:
> Key event translation is only the first part of your problem. Wine knows nothing about all other X windows. And has absolutely no means to communicate with them. 
Its not difficult to compile xev and xwininfo and xdotool functionality with winelib and call it from autohotkey on the wine side. I have already done some of it.  
vitamin wrote:
>   Sending event's might not be all that complicated (there are patch(es) in bugzilla to propagate Wine's injected events to X). But getting any information back won't be so easy.
This patch discussion (http://bugs.winehq.org/show_bug.cgi?id=11727) is interesting.  Although I may contribute to wine  someday, I do not want my port to depend upon wine patches yet.  I just want to rip out that array / function necessary for x event to vkey translation.







More information about the wine-users mailing list