[Wine] Re: Gamepad missing buttons
agusmba
wineforum-user at winehq.org
Sun Apr 6 16:25:46 CDT 2008
The tests with evdev go something like this:
Code:
....
fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
joystick.c:353:X 0 Y 0 Z 0 Rx 0 Ry 0 Rz 857 S0 1984 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 1 0 1 0 0 0 0 0 0 0 0 0
fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
joystick.c:353:X 0 Y 0 Z 0 Rx 0 Ry 0 Rz 1746 S0-1111 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 1 1 0 0 0 0 0 0 0 0 0 0
fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
joystick.c:353:X 0 Y 0 Z 0 Rx 0 Ry 0 Rz-1286 S0-1429 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 1 1 0 1 0 0 0 0 0 0 0 0
joystick.c:358:
joystick.c:379:-- Testing Direct Input Version 0x0500 --
joystick.c:202:---- /dev/input/event5 ----
joystick.c:134: Test failed: deadzone invalid: expected 0 got 235
joystick.c:134: Test failed: deadzone invalid: expected 0 got 235
joystick.c:134: Test failed: deadzone invalid: expected 0 got 235
joystick.c:134: Test failed: deadzone invalid: expected 0 got 235
joystick.c:278: Test failed: Number of enumerated buttons doesn't match capabilities
joystick.c:328:You have 30 seconds to test all axes, sliders, POVs and buttons
joystick.c:333:
joystick.c:353:X-2000 Y-2000 Z 0 Rx 0 Ry 0 Rz-2000 S0-2000 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 0 0 0 0 0 0 0 0 0 0 0 0
joystick.c:353:X-2000 Y-2000 Z 0 Rx 0 Ry 0 Rz 968 S0 1762 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 0 0 0 0 0 0 0 0 0 0 0 0
joystick.c:353:X-2000 Y-2000 Z 0 Rx 0 Ry 0 Rz 1492 S0-1444 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 0 0 0 0 0 0 0 0 0 0 0 0
....
joystick.c:353:X -143 Y-1508 Z 0 Rx 0 Ry 0 Rz 0 S0 -270 S1 0 POV0 -1 POV1 0 POV2 0 POV3 0 B 0 0 0 0 0 0 0 0 0 0 0 0
joystick.c:358:
joystick: 1263 tests executed (0 marked as todo, 16 failures), 0 skipped.
When I use the joysticks all is ok, but when I push one of the buttons, I see the "fixme" line and a "normal" line where the button appears to be pushed ("1")
More information about the wine-users
mailing list