Click or drag to resize

ControllerGetButtonDoublePressHold(Int32, Single) Method

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+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public virtual bool GetButtonDoublePressHold(
	int index,
	float speed
)

Parameters

index  Int32
Button index
speed  Single
Double press speed in seconds

Return Value

Boolean
Button double press and hold state
See Also