gnivler
2008-May-11 03:36 UTC
[Wine] dinput_test works but WINEDEBUG shows no joystick for game?
This is a continuation/evolution of what I've been trying to do, get some response from my controller(s) in Guitar Hero 3. I compiled wine (with some help :) and manually copied the dinput_test.exe.so file into my /usr/lib32/wine directory and made it's permissions match the other exe.so files (644). I then run the test to see if dinput is seeing/reacting to my controller, and it seems to. I then run GH3 with +dinput on debug and don't get a single line mentioning 'joy'. I'm curious if this makes sense, or tells someone what might need to be looked at next. Here's my terminal output (new hostname :)) : mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$ WINETEST_INTERACTIVE=1 wine dinput_test joystick joystick.c:408:DLL Version: 5.1.2600.881 joystick.c:386:-- Testing Direct Input Version 0x0700 -- joystick.c:202:---- Xbox Gamepad (userspace driver) ---- joystick.c:335:You have 30 seconds to test all axes, sliders, POVs and buttons joystick.c:340: joystick.c:360:X -136 Y -82 Z -63 Rx 54 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -136 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 1 0 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -122 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -136 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 1 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -129 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 1 0 0 0 0 0 0 0 0 0 joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 joystick.c:360:X -129 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 1 0 0 0 0 0 0 0 0 joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$ WINEDEBUG=+dinput wine GH3.exe 2>&1 | grep -i joy (I believe vitamin suggested find_joydev in another post, what I'm basing my smaller match on) mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$
vitamin
2008-May-11 04:13 UTC
[Wine] Re: dinput_test works but WINEDEBUG shows no joystick for game?
gnivler wrote:> This is a continuation/evolution of what I've been trying to do, get some response from my controller(s) in Guitar Hero 3. I compiled wine (with some help :) and manually copied the dinput_test.exe.so file into my /usr/lib32/wine directory and made it's permissions match the other exe.so files (644). I then run the test to see if dinput is seeing/reacting to my controller, and it seems to. I then run GH3 with +dinput on debug and don't get a single line mentioning 'joy'. I'm curious if this makes sense, or tells someone what might need to be looked at next. Here's my terminal output (new hostname :)) : > > mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$ WINETEST_INTERACTIVE=1 wine dinput_test joystick > joystick.c:408:DLL Version: 5.1.2600.881 > joystick.c:386:-- Testing Direct Input Version 0x0700 -- > joystick.c:202:---- Xbox Gamepad (userspace driver) ---- > joystick.c:335:You have 30 seconds to test all axes, sliders, POVs and buttons > joystick.c:340: > joystick.c:360:X -136 Y -82 Z -63 Rx 54 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -136 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 1 0 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -122 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -136 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 1 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -129 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 1 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 > joystick.c:360:X -129 Y -82 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 1 0 0 0 0 0 0 0 0 > joystick.c:360:X -129 Y -75 Z -160 Rx 35 Ry-2000 Rz-2000 S0 0 S1 0 POV0 -1 POV1 -1 POV2 -1 POV3 -1 B 0 0 0 0 0 0 0 0 0 0 0 0 > mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$ WINEDEBUG=+dinput wine GH3.exe 2>&1 | grep -i joy (I believe vitamin suggested find_joydev in another post, what I'm basing my smaller match on) > mason at beast:~/c/Program Files/Aspyr/Guitar Hero III$Then this program is not using dinput. Try WINEDEBUG=+joystick
gnivler
2008-May-11 23:37 UTC
[Wine] Re: dinput_test works but WINEDEBUG shows no joystick for game?
Also linked there, a short list of games that actually use xinput lib: http://en.wikipedia.org/wiki/List_of_XInput_games
vitamin
2008-May-12 03:06 UTC
[Wine] Re: dinput_test works but WINEDEBUG shows no joystick for game?
gnivler wrote:> On the xinput side of things, I didn't pull up anything on AppDB or Bugzilla that seemed to hit the topic directly, is that purely something the devs work on, or can users help in some way?Like I said it is not implemented in Wine at all, except few stubs to prevent calls to unimplemented function crashes. It is totally different then dinput. This is xp+ feature that mostly no programs use. And yeah it is some xbox stuff that made it's way back into windows.