Class GamepadStatusChangedInfo
Contains information about a gamepad status change.
Inheritance
System.Object
GamepadStatusChangedInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Input
Assembly: Phoenix.Abstractions.Input.dll
Syntax
public class GamepadStatusChangedInfo
Constructors
View SourceGamepadStatusChangedInfo()
Initializes a new instance of the GamepadStatusChangedInfo class.
Declaration
public GamepadStatusChangedInfo()
GamepadStatusChangedInfo(IDevice, Guid, GamepadStatus)
Initializes a new instance of the GamepadStatusChangedInfo class.
Declaration
public GamepadStatusChangedInfo(IDevice device, Guid gamepadId, GamepadStatus status)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | The device which has the gamepad |
System.Guid | gamepadId | The gamepad id for the gamepad that had a status change |
GamepadStatus | status | The status for that gamepad. |
Properties
View SourceDevice
Gets or sets the device that is having configuration enlistment changes.
Declaration
public IDevice Device { get; set; }
Property Value
Type | Description |
---|---|
IDevice |
GamepadId
Gets or sets the gamepad Id.
Declaration
public Guid GamepadId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Status
Gets or sets the gamepad's status for the change event.
Declaration
public GamepadStatus Status { get; set; }
Property Value
Type | Description |
---|---|
GamepadStatus |