Click or drag to resize

CustomPlatformInputSourceJoystick Class

Joystick base class.
Inheritance Hierarchy
SystemObject
  Rewired.Platforms.CustomCustomInputSourceController
    Rewired.Platforms.CustomCustomInputSourceJoystick
      Rewired.Platforms.CustomCustomPlatformInputSourceJoystick

Namespace:  Rewired.Platforms.Custom
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public abstract class Joystick : CustomInputSourceJoystick

The CustomPlatformInputSourceJoystick type exposes the following members.

Properties
  NameDescription
Public propertyAxes
The list of Axes. Generally this should not be used. Use GetAxisValue(Int32) and SetAxisValue(Int32, Single) instead.
(Inherited from CustomInputSourceJoystick.)
Public propertyaxisCount
The number of axes.
(Inherited from CustomInputSourceJoystick.)
Public propertybuttonCount
The number of buttons.
(Inherited from CustomInputSourceJoystick.)
Public propertyButtons
The list of Buttons. Generally this should not be used. Use GetButtonValue(Int32) and SetButtonValue(Int32, Boolean) instead.
(Inherited from CustomInputSourceJoystick.)
Public propertycustomIdentifier
A user-defined object containing identifying information for this controller. This can be used to match to a controller definition.
(Inherited from CustomInputSourceController.)
Public propertycustomName
Custom name for this controller, if any.
(Inherited from CustomInputSourceController.)
Public propertydeviceInstanceGuid
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.)
Public propertydeviceName
The device name of the controller.
(Inherited from CustomInputSourceController.)
Public propertyextension
The Controller Extension.
(Inherited from CustomInputSourceJoystick.)
Public propertyisConnected
Determines if the controller is connected.
(Inherited from CustomInputSourceController.)
Public propertysupportsVibration
Determines whether this joystick supports vibration.
(Inherited from CustomInputSourceJoystick.)
Public propertysystemId
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.)
Public propertyunityId
The UnityEngine.Input joystick id (1-based index) of this joystick, if any.
(Inherited from CustomInputSourceJoystick.)
Top
Methods
Events
See Also