GamepadButtonEventArgs
Summary
Provides data for gamepad button press, release, and emulated repeat events.
Definition
Namespace: SDT4.Managed.Input.Gamepad.Events
Assembly: SDT4.Managed.Input.dll
struct GamepadButtonEventArgs
Implements:
IEquatable<GamepadButtonEventArgs>
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; set; Sender |
Object? | The source object that dispatched the event, or |
public get; set; DeviceId |
GamepadIdentifier | The identifier of the gamepad that generated the event. |
public get; set; Button |
GamepadButton | The gamepad button that changed state or repeated. |
public get; set; IsRepeating |
Boolean | Indicates whether this event is an emulated repeat. |
Methods
public virtual String ToString()
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual Boolean Equals(Object obj)
Parameters:
obj(Object):
Returns:
public Boolean Equals(GamepadButtonEventArgs other)
Parameters:
other(GamepadButtonEventArgs):
Returns:
public Void Deconstruct(out Object? Sender, out GamepadIdentifier DeviceId, out GamepadButton Button, out Boolean IsRepeating)
Parameters:
-
Sender(Object?): -
DeviceId(GamepadIdentifier): -
Button(GamepadButton): -
IsRepeating(Boolean):