Click or drag to resize

ReInputControllerHelperAutoAssignJoystick Method

Auto-assigns a Joystick to a Player based on the joystick auto-assignment settings in the Rewired Input Manager. If the Joystick is already assigned to a Player, the Joystick will not be re-assigned.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool AutoAssignJoystick(
	Joystick joystick
)

Parameters

joystick
Type: RewiredJoystick
Joystick to assign to a Player.

Return Value

Type: Boolean
True if the Joystick was assigned to a Player.
See Also