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
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme