Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GameInputDevice

Hierarchy

  • GameInputDevice

Index

Properties

enabled

enabled: boolean

Enables or disables this device.

id

id: string

Returns the ID of this device.

name

name: string

Returns the name of this device.

numControls

numControls: number

Returns the number of controls on this device.

sampleInterval

sampleInterval: number

Specifies the rate (in milliseconds) at which to retrieve control values.

Static MAX_BUFFER_SIZE

MAX_BUFFER_SIZE: number

Methods

getCachedSamples

  • getCachedSamples(data: ByteArray, append?: boolean): number

getControlAt

startCachingSamples

  • startCachingSamples(numSamples: number, controls: Vector<String>): void

stopCachingSamples

  • stopCachingSamples(): void

Generated using TypeDoc