Skip to main content
GameDev.net gamedev.net
🔒 Locked

Strange DirectInput joystick problem

Started by _vortex_ Jan 9, 2003 at 2:55 PM 0 replies 150+ views
Original Post
_vortex_
_vortex_
I''m using DirectInput on WinXP to read from my joystick (Microsoft force feedback wheel actually). I can get the steering and gas axes just fine, but I can''t seem to get a brake value from it. DI reports 3 axes, the first 2 of which are gas and steering, and work fine. I assume the 3rd is brake, but it always reports a value of 0. (And no, the brake pedal does not affect the value of the gas axis either) I know it''s possible to obtain a brake value, because the control panel for the joystick has a brake axis indicator that works just fine, and other games work fine with the brake as well. Has anyone else found a solution for this?
_vortex_
_vortex_
Never mind, found it... turns out the brake isn''t treated as an axis, but as z-axis rotation. Odd.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.