Sign in to follow this  

[.net] Dxinput Event Handler

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

This topic is 4304 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.

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