GamepadAxisEventArgs
Summary
Provides data for gamepad analog axis movement events, supplying both calibrated and raw values.
Definition
Namespace: SDT4.Managed.Input.Gamepad.Events
Assembly: SDT4.Managed.Input.dll
struct GamepadAxisEventArgs
Implements:
IEquatable<GamepadAxisEventArgs>
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; Axis |
GamepadAxis | The specific analog axis that changed value. |
public get; set; Value |
Double | The post-processed axis value after applying inner and outer deadzone transformations. |
public get; set; RawValue |
Double | The unfiltered, raw hardware axis value reported by the native backend. |
Methods
public virtual String ToString()
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual Boolean Equals(Object obj)
Parameters:
obj(Object):
Returns:
public Boolean Equals(GamepadAxisEventArgs other)
Parameters:
other(GamepadAxisEventArgs):
Returns:
public Void Deconstruct(out Object? Sender, out GamepadIdentifier DeviceId, out GamepadAxis Axis, out Double Value, out Double RawValue)
Parameters:
-
Sender(Object?): -
DeviceId(GamepadIdentifier): -
Axis(GamepadAxis): -
Value(Double): -
RawValue(Double):