  | IInputServiceIsPressed Method (Buttons, Boolean, LogicalPlayerIndex) | 
            Determines whether the specified button has been pressed by the given player. 
            (Not available in Silverlight.)
            
 
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntaxbool IsPressed(
	Buttons button,
	bool useButtonRepetition,
	LogicalPlayerIndex player
)
Function IsPressed ( 
	button As Buttons,
	useButtonRepetition As Boolean,
	player As LogicalPlayerIndex
) As Boolean
bool IsPressed(
	Buttons button, 
	bool useButtonRepetition, 
	LogicalPlayerIndex player
)
abstract IsPressed : 
        button : Buttons * 
        useButtonRepetition : bool * 
        player : LogicalPlayerIndex -> bool 
Parameters
- button
 - Type: Buttons
The button. - useButtonRepetition
 - Type: SystemBoolean
            If set to  physical and virtual button presses (see 
            IInputService) are returned; otherwise, only physical button presses are
            returned.
             - player
 - Type: DigitalRune.Game.InputLogicalPlayerIndex
            The LogicalPlayerIndex that identifies the player. 
            (Any to check the game controllers of all available 
            players.)
             
Return Value
Type: 
Boolean if the specified button was previously up and has been pressed; 
            otherwise, 
.
            
See Also