winejoystick.drv: Use JSIOCGAXMAP ioctl to correct axes mapping

Vincent Pelletier plr.vincent at gmail.com
Sat Jan 17 05:46:27 CST 2009


The registry key is not enough to correct axes mapping: some games, such 
as "X-Wine Alliance" use winmm to get joystick readings, which ignores dinput 
remapping. With this change, remapping should not be needed at all.

I tested this patch with a "Microsoft Sidewinder Force Feedback 2" joystick, 
both on linux and vista 32bits, and got the same results with 
joytester.exe[1].

[1] http://www.mcrenox.com.ar/downloads/joytester.exe
-- 
Vincent Pelletier



More information about the wine-patches mailing list