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,
	long? systemId,
	int unityId,
	int axisCount,
	int buttonCount
)

Parameters

deviceName  String
The name of the controller.
systemId  NullableInt64
The system id.
unityId  Int32
The unity joystick id, if any.
axisCount  Int32
The number of axes.
buttonCount  Int32
The number of buttons.
See Also