| LogicalPlayerIndex Enumeration |
Identifies a player.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax public enum LogicalPlayerIndex
Public Enumeration LogicalPlayerIndex
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.
See Also