Click or drag to resize

ControllerGetButtonDoublePressHoldById Method (Int32, Single)

Gets the double press and hold state of the button at the specified element identifier id. 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 GetButtonDoublePressHoldById(
	int elementIdentifierId,
	float speed
)

Parameters

elementIdentifierId
Type: SystemInt32
Element identifier id
speed
Type: SystemSingle
Double press speed in seconds

Return Value

Type: Boolean
Button double press and hold state
See Also