Enum PlayerIndex
Defines the index of player for various MonoGame components.
public enum PlayerIndex
Fields
Eight = 7The eighth player index.
Five = 4The fifth player index.
Four = 3The fourth player index.
One = 0The first player index.
Seven = 6The seventh player index.
Six = 5The sixth player index.
Three = 2The third player index.
Two = 1The second player index.
Remarks
Use MaximumGamePadCount to determine the number of supported gamepads on the current platform to ensure that a valid PlayerIndex is used when accessing gamepad input. Not all platforms support all eight player indices.