Enum PlayerIndex
Defines the index of player for various MonoGame components.
public enum PlayerIndex
Fields
Eight = 7
The eighth player index.
Five = 4
The fifth player index.
Four = 3
The fourth player index.
One = 0
The first player index.
Seven = 6
The seventh player index.
Six = 5
The sixth player index.
Three = 2
The third player index.
Two = 1
The 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.