CustomAxisInputEventArgs
Summary
Provides event data for continuous analogue, rotational, or positional inputs originating from custom input devices.
Definition
Namespace: SDT4.Managed.Input.Custom.Events
Assembly: SDT4.Managed.Input.dll
struct CustomAxisInputEventArgs
Implements:
IEquatable<CustomAxisInputEventArgs>
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; set; Sender |
Object? | The source driver or object that dispatched the event, or |
public get; set; SourceId |
Guid | A unique Guid identifying the source peripheral driver or hardware interface. |
public get; set; ChannelName |
String | The name of the axis channel (e.g., |
public get; set; DeviceId |
Int32 | The hardware instance index, used to differentiate multiple connected devices of the same driver type. |
public get; set; Value |
Double | The calibrated or normalised axis value after software deadzones and scaling curves are applied. |
public get; set; RawValue |
Double | The unfiltered, raw hardware readout provided by the device driver. |
Methods
public virtual String ToString()
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual Boolean Equals(Object obj)
Parameters:
obj(Object):
Returns:
public Boolean Equals(CustomAxisInputEventArgs other)
Parameters:
other(CustomAxisInputEventArgs):
Returns:
public Void Deconstruct(out Object? Sender, out Guid SourceId, out String ChannelName, out Int32 DeviceId, out Double Value, out Double RawValue)
Parameters:
-
Sender(Object?): -
SourceId(Guid): -
ChannelName(String): -
DeviceId(Int32): -
Value(Double): -
RawValue(Double):