0

I'm trying to build a Windows game without the now sunset XNA or DirectX, but I'm having difficulty figuring out how to create controller support (mostly just XBox controllers). Is there anything in the standard C# libraries? If at all possible, I want to avoid using any external libraries or anything.

Alexei Levenkov
  • 98,904
  • 14
  • 127
  • 179
Shadow0144
  • 123
  • 2
  • 9

1 Answers1

2

No, without using XInput DLLs, you cannot access/work with XBox 360 controllers. You can either PInvoke XInput dlls directly or work with it through SlimDX (as suggested in the comments).

AFAIK, XInput has not been deprecated. You can use XInput on Windows 8 with Store apps and I believe I've seen this DLL even on the Windows 10 preview.

Ani
  • 10,826
  • 3
  • 27
  • 46