Sign in to follow this  

DirectInput API question (usb gamecontroller)

This topic is 4379 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. I'm hardly trying to fix (maybe patch binary) an old game, namely P.O.D. It exits when used with a USB Joystick. Gameport device works fine. Both controllers have same features (3 axes, cooliehat, 4 buttons) Strange, no real hardware abstraction here :-(. Its based on DirectX 5 for input AFAIK. I isolated a structure which is -run, with gameport joystick, usb device disabled -crashes with only usb joystick -run once, repeat into crash with both devices attached and enabled. the fault is a illegal mem read. My question is, which attributes besides of buttons & axes could differ on DInput 5 for game devices? I dont think DX gives me the bad pointer, maybe its a consequence of "too much button" or something else; but as i stated both devices are euqal except of connection type. i've heard about of other old games behaveing strange with usb devices too... from my not dx5 knowing point of view this seems strange ... thanks very much for ideas and information, Paul

Share this post


Link to post
Share on other sites

This topic is 4379 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this