Sign in to follow this  
JoeShanahan

[SlimDX] DirectInput - having more than 3 axes

Recommended Posts

I'm currently messing around with SlimDX's DirectInput for my XNA game with my own device. The device has 4 axes (for some reason Joystick. Capabilities.AxesCount gives 6, any idea why?) and I can access 3 of the 4 by using the .X, .Y and .Z properties of the JoystickState. How would I go about using the 4th axis as well?

Is it possible to scan ALL available axes and just dump them into a Vector2[] to make it easier to read from them?

Thanks!

Share this post


Link to post
Share on other sites

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