Click or drag to resize

CustomInputSourceJoystick Constructor

Constructor. For UnityEngine.Input joystick input source.

Namespace:  Rewired.Platforms.Custom
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Joystick(
	string deviceName,
	Nullable<long> systemId,
	int unityId,
	int axisCount,
	int buttonCount
)

Parameters

deviceName
Type: SystemString
The name of the controller.
systemId
Type: SystemNullableInt64
The system id.
unityId
Type: SystemInt32
The unity joystick id, if any.
axisCount
Type: SystemInt32
The number of axes.
buttonCount
Type: SystemInt32
The number of buttons.
See Also