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?
Sending mouse clicks to Wine
Re: Sending mouse clicks to Wine
Autohotkey is reported to work in Wine. It can be installed through winetricks.