dinput: fix joystick axis remapping
Vitaliy Margolen
wine-devel at kievinfo.com
Wed Aug 1 23:37:22 CDT 2007
Erik Inge Bolsø wrote:
> Without this, joystick axis remapping from the Wine registry,
> as documented on http://wiki.winehq.org/UsefulRegistryKeys,
> does not work in Star Wars Galaxies.
> ---
> - inst_id = DIDFT_MAKEINSTANCE(jse.number) | (number < 8 ? DIDFT_ABSAXIS : DIDFT_POV);
> + inst_id = DIDFT_MAKEINSTANCE(number) | (number < 8 ? DIDFT_ABSAXIS : DIDFT_POV);
Nice catch! Indeed it does fix the problem.
Vitaliy.
More information about the wine-devel
mailing list