Click or drag to resize

ControllerStatusChangedEventArgs Class

Event args returned by controller connect and disconnect events. Contains information about the controller that was changed.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    RewiredControllerStatusChangedEventArgs

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class ControllerStatusChangedEventArgs : EventArgs

The ControllerStatusChangedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodControllerStatusChangedEventArgs Constructor.
Top
Properties
 NameDescription
Public propertycontroller The Controller. This will be null if the Controller was already disconnected.
Public propertycontrollerId The id of the controller. This can be used along with controllerType to get the controller. For joysticks, this is equal to Joystick.id.
Public propertycontrollerType The type of the controller. This can be used along with controllerId to get the controller.
Public propertyname The name of the controller.
Top
See Also