Jump to content
  • Advertisement
Sign in to follow this  
Wolf_Attack

Use DirectInput (Keyboard, Mouse) Events !!!

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

How can use DirectInput keyboard and Mouse events, for instance : mousemove, mouseup, ... ,keyup, keydown, and so on in DirectX 8 Thanks

Share this post


Link to post
Share on other sites
Advertisement
Try this page:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx81_c/directx_cpp/Input/Using/UsingDirectinput.asp

A google search will also give you some relevant info.

Share this post


Link to post
Share on other sites
'Calin' I've full DX SDK and this like is just a part of it, and I didn't find my aim in it ...

I'm searching alot and finally found that link but it written in C++, and I'm just a beginner in DX and just begin to programming in Visual Basic 6.0 ...

I wanna just convert this simple code to VB, just need the part which talk about 'keyup, keydown, mouseup, ...'

I'll be glad if I found the answer

Thanks

Share this post


Link to post
Share on other sites
I am not familiar with Visual Basic, but usually the SDK packages come with sample code to illustrate how you should use different functions/methods. Try to find some code snippets in the SDK. Visual Basic is not a very often used programming language when it comes to game programming. One consequence of this is that it is harder to find information on the topics you are interested in. However I think that if you search hard you can find what you need.

Share this post


Link to post
Share on other sites
Wolf_attack, isntead of struggling through with VB 6.0, take the plunge and learn C#. You can get Visual Studio 2003 C# for about $150. You'll take the same amount of time in the end, and this way you'll come out knowing an extra language. Seems like a no brainer to me.

-Sandra

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!