Sign in to follow this  

DX9 Input question

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

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