Click or drag to resize
DigitalRuneIInputServiceGetLogicalPlayer Method
Gets the game controller assigned to the specified player. (Not available in Silverlight.)

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
Nullable<PlayerIndex> GetLogicalPlayer(
	LogicalPlayerIndex player
)

Parameters

player
Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.

Return Value

Type: NullablePlayerIndex
The PlayerIndex that identifies the game controller. Returns , if no game controller is assigned to player.
Remarks
See Also