Click or drag to resize

ReInputControllerHelperGetAnyButtonDown Method (ControllerType)

Get the button just pressed state of all buttons on all controllers of a specified type. This will only return TRUE only on the first frame a button is pressed. This retrieves the value from the actual hardware buttons, not Actions as mapped by Controller Maps in Player.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetAnyButtonDown(
	ControllerType controllerType
)

Parameters

controllerType
Type: RewiredControllerType
Controller type

Return Value

Type: Boolean
Button just pressed state
See Also