CustomButtonInputEventArgs

Summary

Provides event data for digital button or binary state changes originating from custom input devices.

Definition

Namespace: SDT4.Managed.Input.Custom.Events
Assembly: SDT4.Managed.Input.dll

struct CustomButtonInputEventArgs
Implements:

IEquatable<CustomButtonInputEventArgs>

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 button channel or input line (e.g., "Trigger", "ShifterUp").
public get; set; DeviceId Int32 The hardware instance index, used to differentiate multiple connected devices of the same driver type.
public get; set; IsDown Boolean if the button is currently held down; if it was released.
public get; set; IsRepeating Boolean Indicates whether this event was triggered by software- or hardware-assisted repeat pulses.

Methods

public virtual String ToString()

Returns:


public virtual Int32 GetHashCode()

Returns:


public virtual Boolean Equals(Object obj)

Parameters:

Returns:


public Boolean Equals(CustomButtonInputEventArgs other)

Parameters:

Returns:


public Void Deconstruct(out Object? Sender, out Guid SourceId, out String ChannelName, out Int32 DeviceId, out Boolean IsDown, out Boolean IsRepeating)

Parameters: