Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to wrap DeviceInputSystem data into an event object

Hierarchy

  • DeviceEventFactory

Index

Constructors

Methods

Constructors

Methods

  • Create device input events based on provided type and slot

    Parameters

    • deviceType: DeviceType

      Type of device

    • deviceSlot: number

      "Slot" or index that device is referenced in

    • inputIndex: number

      Id of input to be checked

    • currentState: Nullable<number>

      Current value for given input

    • deviceInputSystem: IDeviceInputSystem

      Reference to DeviceInputSystem

    • Optional elementToAttachTo: any

      HTMLElement to reference as target for inputs

    Returns IUIEvent

    IUIEvent object

Legend

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

Settings

Theme