Home Forums Education, Training and Jobs Free Radicals Reply To: Free Radicals

#41327
Anonymous
Inactive

I have used a check for the gamepad in my XNA games and switch to keyboard if not present.

if (!GamePad.GetState(PlayerIndex.One).IsConnected)
{
//Use keyboard
}

Made the graphic for the controls in help menu switch automatically using same line of code.

I can understand not supporting other pads as it forks the Xbox and PC devs as even though the word is if a controller is compatible with the Microsoft Common Controller Driver model it will work with XNA your gona need external libraries and Xbox support will be iffy as it only likes some usb devices.