Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that handles all input for a specific device

Type parameters

Hierarchy

  • DeviceSource

Index

Constructors

  • Default Constructor

    Type parameters

    Parameters

    • deviceInputSystem: IDeviceInputSystem

      Reference to DeviceInputSystem

    • deviceType: T

      Type of device

    • Optional deviceSlot: number

      "Slot" or index that device is referenced in

    Returns DeviceSource<T>

Properties

deviceSlot: number

"Slot" or index that device is referenced in

deviceType: T

Type of device

onInputChangedObservable: Observable<DeviceSourceEvent<T>>

Observable to handle device input changes per device

Methods

  • Get input for specific input

    Parameters

    • inputIndex: DeviceInput<T>

      index of specific input on device

    Returns number

    Input value from DeviceInputSystem

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme