Identifies a player.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.1.0.0 (1.1.1.9391)

Syntax

C#
public enum LogicalPlayerIndex
Visual Basic
Public Enumeration LogicalPlayerIndex
Visual C++
public enum class LogicalPlayerIndex

Members

Member nameValueDescription
Any-1 Any logical player. Use this value to check input on any game controller. (Note: Only game controllers that have been assigned to players are checked. Game controllers that are not assigned to a player are ignored.)
One0The first logical player.
Two1The second logical player.
Three2The third logical player.
Four3The fourth logical player.

Remarks

See description of IInputService (see section "Logical Players and Game Controllers") to find out more.

See Also