Question

In my XNA game, if a player disconnects controller #1, a dialog comes up that says "Please reconnect controller". They can continue playing if they start using controller 2 and I would like to programtically dismiss the dialog in that case. I have found nothing in my online searching and pouring through XNA documentation...

Was it helpful?

Solution

Unfortunately that message is built into the Xbox 360 firmware, and hence there is no way to control or dismiss it from within the XNA Framework.

Since profiles are associated with controllers on the Xbox 360, that message will always appear when a game is running and a controller is disconnected with a profile still signed in. You should be able to verify this by signing a profile in using another of your controllers, then disconnecting that controller.

You may want to check out this thread over at the XNA Forums for more information on how your game could respond to controller disconnects.

This MSDN article also provides some information on handling controller disconnects.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top