Using DirectInput in C# with MonoGame?

I am trying to move on from previous game development languages and have stumbled upon an issue that I took for granted in my old languages. I am trying to support DirectInput in C# with MonoGame as I feel comfortable with C# to use it as my primary game development language.

The issue is I don't know how to support DirectInput controllers and dancepads. It's out of my comfort zone. I have spent far too long looking for an answer via Coding Groups and Google to find no answers and a headache.

Is it possible to support DirectInput controllers/dancepads in C# x MonoGame and if so how is it done? I'd really appreciate any help on this one.

Answers


DirectInput is no longer recommended.

You can browse the repo here, mostly you will only ever need Keyboard and Gamepad.


Need Your Help

how to add a link button in the grid view by visual studio?

c# asp.net asp.net-4.0

I want to add a link button in grid view that will navigate to the next form in the website. but i want to know how to insert that button into the grid view column? please help me..

Is it a good idea to using class as a namespace in Python

c++ python oop class namespaces

I am putting a bunch of related stuff into a class. The main purpose is to organize them into a namespace.