[Solved]MonoGame does not recognize my gamepad

Sorry if this is a basic question.

I am learning MonoGame and trying to connect my gamepad (Elecom JC-U4113SBK) which has XInput mode, but GamePad.GetState(PlayerIndex.One).IsConnected always returns false, so I can’t use the gamepad.

However, weird or not, I can connect my gamepad with XInput.Wrapper. So I think it is doing fine as a XInput gamepad…

Does MonoGame only detect Xbox 360 controller like this down below or should it detect all the XInput gamepads? Some advice on it is very much appreciated.

I could use XInput for input and MonoGame for the rest, but it doesn’t feel quite natural to me.

I am using MonoGame v3.6. Thank you!

If I remember correctly, Windows Project only supports XInput controllers.
You can create Cross Platform Desktop Project (also known as DesktopGL) which should work with most controllers, but usage is slightly different. :slight_smile:

1 Like

Wow, my gamepad worked just fine on Cross Platform Desktop Project!

Although I am not sure why my gamepad didn’t work on Windows Project since it says XInput mode available (and I’m in that mode), at least I found the way to work around (maybe it is not really a “XInput Controller”…).

Anway, thank you very much for the information!

No problem, glad you got it working :slight_smile: