Jump to content
  • Advertisement
Sign in to follow this  
16bit_port

XInput help

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

Is it possible to use XInput to read mouse and keyboard or is it just more of an add-on to DirectInput. If so, can XInput return the absolute position of the mouse in terms of the screen coordinates? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
XInput is only for using xbox 360 peripherals on the pc. It wont do mouse or any other types of joypads.

Use Direct Input for other types of joypads/joysticks.

use the win 32 messages for keyboard and mouse. Have a look at this thread for more info on why not to use DirectInput for those

http://www.gamedev.net/community/forums/topic.asp?topic_id=481780

The directx documentation that came with the SDK you have should have a pretty good introduction to setting up and using XInput. Should be pretty easy :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!