Click or drag to resize

ControllerGetButtonPrev Method

Gets the previous button held state of the hardware button at the specified index. This will return TRUE if the button was held in the previous frame. This does not take into acount any controller mapping or Actions -- this is the unmapped physical button value only. Use the Player class to get button values mapped to Actions.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: (
public virtual bool GetButtonPrev(
	int index


Type: SystemInt32
Button index

Return Value

Type: Boolean
Previous button held state
See Also