Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ozguxxx

DirectInput Usage???

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

Can anybody tell me the real purpose of DirectInput for game programming? I am a newbie in DirectX programming and I am not sure if I should learn DirectInput or not, Recently I am implementing a 2d game in DirectX, can DirectInput be useful to my application? In what ways should I think about this subject? I have no idea about technical details and examples of what miracles can be done with DirectInput. Thanks in advance for help and answers...

Share this post


Link to post
Share on other sites
Advertisement
I''ll elaborate the clown''s statement. Though it''s basically true.

Things that you can do with DX but not (or very difficult) with the basic Win API:

-Use Joysticks, Mousepads, Wheels and the like, including FF
-Flexible Mouse usage
-determine if a key is up or down, therefore generating up and down events as needed

For simple text input, MS claims that using the Win API is simpler. This is true mainly due to the fact that there are different keyboard layouts. Where my ''Y'' key is, probably resides your ''Z'' key. DX more or less says that the button at the bottom left of the keyboard has been pressed.

---------------------------
I may be getting older, but I refuse to grow up

Share this post


Link to post
Share on other sites
Thank you, by the way Clown your answer was very "DEMAGOJIK" in Turkish. Do you want to know what does it mean? Learn it.

Share this post


Link to post
Share on other sites

  • 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!