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 5538 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!