Search code examples
uwphidgamepad

Detect gamepad other than Xbox


I'm building an UWP app and I wan't it to be able to detect a gamepad (or joysticks and other such devices) but I'm having trouble doing this because these namespaces:

Windows.Gaming.Input.RawGameController.RawGameControllers
Windows.Gaming.Input.Gamepad.Gamepads

Are only able to detect Xbox gamepads and I have a Genius gamepad. I also see I cannot install SlimDX in an UWP project because they are build for net40.

What other options do I have?


Solution

  • I have figured it out. You can use Windows.Gaming.Input.RawGameController to detect controllers other than Xbox.