Click or drag to resize
DigitalRuneInputManagerIsPressed Method (MouseButtons, Boolean)
Determines whether the specified button was previously up and has been pressed.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public bool IsPressed(
	MouseButtons button,
	bool useButtonRepetition
)

Parameters

button
Type: DigitalRune.Game.InputMouseButtons
The button.
useButtonRepetition
Type: SystemBoolean
If set to physical and virtual button presses (see IInputService) are returned; otherwise, only physical button presses are returned.

Return Value

Type: Boolean
if the specified button was previously up and has been pressed; otherwise, .

Implements

IInputServiceIsPressed(MouseButtons, Boolean)
See Also