简体   繁体   中英

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.

DirectInput is no longer recommended .

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM