Click or drag to resize

ControllerGetButtonDoublePressHold Method (Int32, Single)

Gets the double press and hold state of the button at the specified index. This will return TRUE after the double press is detected and for as long as the button is held thereafter.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual bool GetButtonDoublePressHold(
	int index,
	float speed
)

Parameters

index
Type: SystemInt32
Button index
speed
Type: SystemSingle
Double press speed in seconds

Return Value

Type: Boolean
Button double press and hold state
See Also