Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

[SlimDX] DirectInput - having more than 3 axes

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 Kasc   Members   

119
Like
0Likes
Like

Posted 01 August 2012 - 11:30 AM

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!




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.