XNA Joypad State

Monkey Targets Forums/XNA/XNA Joypad State

Raz(Posted 2011) [#1]
Hi,

from what I can tell from testing and from what I can see in the code, Monkey does not produce code that monitors multiple joypads.

public void BeginUpdate(){
	
		mouseState=Mouse.GetState();
		keyboardState=Keyboard.GetState();
		gamepadState=GamePad.GetState( 0 );

This suggests it only monitors player one. Regardless of the fact I've got code monitoring JoyHit(JOY_A,1).

XNA games will fail the Xbox Live peer review if they do not allow the player to play with any one of four joypads connected. This is usually done by monitoring all controllers input until a specific controller is interacted with.