Jump to content
  • Advertisement
Sign in to follow this  
Matazi

DX9 Input question

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

Hello, I've been learning DirectX and C++ in tandem for a little while, and right now I'm taking the next step and attempting to actually go ahead and make a game in essence. I've been looking through various books and sites and for some reason I'm turning up nothing. My question is: How do I assign key-input, or mouse-input to manipulate an object? For example, I'm rendering a box in a window and I'd like to assign W, A, S, and D to move the box forward, left, right, and back in reference to the camera (taking baby steps.) Thanks in advance :)

Share this post


Link to post
Share on other sites
Advertisement
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!