Jump to content
  • Advertisement
Sign in to follow this  
Samurai Jack

Direct Input Action Mapping

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

Greetings! I was wondering if there is a sample, that demonstates how to use Action maping like that: a) Keyboard with 2 maps for 2 players, for example one (WSAD) and other (up, down, left, right) b) Joysticks c) Perhaps XInput for xbox360 controler? Ok, I know, I can load XInput emulator under direct input enumeration, But I would like to use the vibration functions from xbox. I do not want to end up with thousands of subclases via an interface to solve that problem. I just want to have a component that supports N joysticks, up to 4 xbox controllers, high speed mouse and keyboard. Most likely I would like to have action maps like XBOX360 controlers. So W,Up, XBOX Up, Joystick up and ABXY, Start, Back buttons etc... Thank you in advance.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!