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


Weird DirectInput analog axis problem

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