Hi all,
I'm hoping somebody can help me with this - I notice in the Wine source code (dlls/dinput/joystick.c) that a comment has been left claiming that joysticks don't work in Tomb Raider II under Wine.
However, I've found this to be false on two grounds:-
1) Tomb Raider II actually uses winmm.dll for joysticks, so this comment appears to be in the wrong place (TR2 only uses dinput.dll for the keyboard & mouse)
2) Joysticks do in fact work under TR2, but only if winmm.dll (winejoystick.drv) enumerates the joystick as "joystick 0" (according to winejoystick.drv, this means it must be mapped as /dev/input/js0)
I've observed the same behaviour under Windows, too.
I think the confusion comes from the fact that the TR2 control panel allows the user to select their preferred joystick (and even creates a 'PreferredGuid' registry key) but the game itself takes no notice of it!
Does the commentary in the source code need to be updated, or should it be left as-is ?
(incidentally, joypad support under TR2 is pretty bad anyway as most buttons can't be customised)
Problem & solution found with Tomb Raider II Joysticks
Re: Problem & solution found with Tomb Raider II Joysticks
Minor mistake in my last post - the source file is dlls/dinput/dinput_main.c, not joystick.c
Also, the comment doesn't explicitly mention the joystick - it simply says "playable with keyboard only", which I assume is meant to mean that the joystick doesn't? (rather than the mouse)
Also, the comment doesn't explicitly mention the joystick - it simply says "playable with keyboard only", which I assume is meant to mean that the joystick doesn't? (rather than the mouse)