Identifies a player.
Namespace: DigitalRune.Game.InputAssembly: 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 name | Value | Description | |
|---|---|---|---|
| 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.) | |
| One | 0 | The first logical player. | |
| Two | 1 | The second logical player. | |
| Three | 2 | The third logical player. | |
| Four | 3 | The fourth logical player. |
Remarks
See description of IInputService (see section "Logical Players and Game
Controllers") to find out more.