• Advertisement
Sign in to follow this  

SharpDX DirectInput not found

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

So, I've now started coding a text renderer into my engine, based on D2D1 and DirectWrite. Now, to do that I had to switch from the SharpDX DX11 to the DX11_2 binaries. Problem is, they don't include DirectInput. So I tried to keep using the SharpDX.DirectInput.dll from the DX11 version, but I keep getting a namespace not found error. What can I do? I don't want to switch to RawInput since I have absolutely zero clue about it.

Share this post


Link to post
Share on other sites
Advertisement
DirectInput has been depreciated by MS for years. It is now just an expensive shell over regular Windows messages.

You should be using standard Windows messages (for text input and mouse cursor), Raw Input (for game controls, joysticks, and mouselook), and XInput (for controllers).

None of them are particular difficult to learn - the hardest part really is to get your input system to switch between them as appropriate.

Share this post


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

  • Advertisement