CustomPlatformInputSourceJoystick Class |
Namespace: Rewired.Platforms.Custom
public abstract class Joystick : CustomInputSourceJoystick
The CustomPlatformInputSourceJoystick type exposes the following members.
Name | Description | |
---|---|---|
Axes |
The list of Axes. Generally this should not be used.
Use GetAxisValue(Int32) and SetAxisValue(Int32, Single) instead.
(Inherited from CustomInputSourceJoystick.) | |
axisCount |
The number of axes.
(Inherited from CustomInputSourceJoystick.) | |
buttonCount |
The number of buttons.
(Inherited from CustomInputSourceJoystick.) | |
Buttons |
The list of Buttons. Generally this should not be used.
Use GetButtonValue(Int32) and SetButtonValue(Int32, Boolean) instead.
(Inherited from CustomInputSourceJoystick.) | |
customIdentifier |
A user-defined object containing identifying information for this controller.
This can be used to match to a controller definition.
(Inherited from CustomInputSourceController.) | |
customName |
Custom name for this controller, if any.
(Inherited from CustomInputSourceController.) | |
deviceInstanceGuid |
Unique persistent device guid of the controller.
Only set this if controllers can be uniquely identified on this platform across application sessions and system power cycles.
(Inherited from CustomInputSourceController.) | |
deviceName |
The device name of the controller.
(Inherited from CustomInputSourceController.) | |
extension |
The Controller Extension.
(Inherited from CustomInputSourceJoystick.) | |
isConnected |
Determines if the controller is connected.
(Inherited from CustomInputSourceController.) | |
supportsVibration |
Determines whether this joystick supports vibration.
(Inherited from CustomInputSourceJoystick.) | |
systemId |
The system id of the joystick.
This value represents a unique device identifier, either assigned directly by the system or
a derived value based on some unique system-defined identifier.
Example: If the system provides a string path for a particular device, a long value can be
derived from the path by assigining an id to each unique path string.
(Inherited from CustomInputSourceJoystick.) | |
unityId |
The UnityEngine.Input joystick id (1-based index) of this joystick, if any.
(Inherited from CustomInputSourceJoystick.) |
Name | Description | |
---|---|---|
Connect |
Connect the controller.
(Inherited from CustomInputSourceController.) | |
Disconnect |
Disconnect the controller.
(Inherited from CustomInputSourceController.) | |
GetAxisValue | (Inherited from CustomInputSourceJoystick.) | |
GetButtonFloatValue | (Inherited from CustomInputSourceJoystick.) | |
GetButtonValue | (Inherited from CustomInputSourceJoystick.) | |
SetAxisValue | (Inherited from CustomInputSourceJoystick.) | |
SetButtonFloatValue | (Inherited from CustomInputSourceJoystick.) | |
SetButtonValue | (Inherited from CustomInputSourceJoystick.) | |
Update |
Update function. Called when input should be updated.
(Inherited from CustomInputSourceController.) |
Name | Description | |
---|---|---|
ConnectedStateChangedEvent | (Inherited from CustomInputSourceController.) |