• Advertisement
Sign in to follow this  

[.net] Dxinput Event Handler

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

I am writing a 3d game in C# using Managed DirectX. I created a thread and handle the keyboard via Direct Input in that thread however my game became very copy. However when I used the keyDown event from the Windows sdk, my game was smooth again with the loss of only being able to process one key at a time. I searched through the forums here and found that making an event handler for Direct Input is the key to my problem. I searched the net and didn't have much lck finding example code. Anyone know where I can find some example code? Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement