Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OrangyTang

Weird DirectInput analog axis problem

This topic is 5448 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

I''m using some DirectInput code to get at a joystick input. All the buttons work fine yet the analog axies are all messed up. It either returns -1 or 1, with no inbetween. They get detected as axies properly, but theres no proper range. Oddly, the ''center'' position is usually -1. Then to actually change it to 1 you have to move to the edge of the range in one direction. Moving the otherway keeps it stuck at the same number. This also happens in the DX SDK ''joystick'' example app. Yet the panel via the control panel shows the proper analog inputs, and testing it with a game the analog axies worked properly. Anyone ever come across this before? Any hints as to what it might be?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!