Sending mouse clicks to Wine

Questions about Wine on Linux
Locked
YourMoveBlue
Newbie
Newbie
Posts: 1
Joined: Tue Apr 07, 2015 12:59 pm

Sending mouse clicks to Wine

Post by YourMoveBlue »

I'd like to script a few mouse clicks for a Windows game I play on Wine. I know how to send keyboard clicks (or move the mouse) through several programs like xte, xdotool, or xvkbd. Unfortunately the mouse click portion of these programs does not work at all. It seems that Wine reads the mouse device directly for DirectX? Are there any command line programs out there that can do this? What about the user input kernel driver? xinput-list shows the xtest as a separate device, but I couldn't find any way to point wine to treat that as a legitimate mouse device.

Any suggestions?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Sending mouse clicks to Wine

Post by dimesio »

Autohotkey is reported to work in Wine. It can be installed through winetricks.
Locked