Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IJoystickData

Extends the regular control data with additional properties for Joysticks

Hierarchy

Index

Properties

Optional angle

angle: number

The angle of the Joysticks direction indicator. In radians 0 - 2π.

Optional controlID

controlID: string

An id, unique to the session.

Optional disabled

disabled: boolean

Wether or not this control is disabled.

Optional etag

etag: ETag
deprecated

etags are no longer used, you can always omit/ignore this

Optional intensity

intensity: number

Controls the strength/opacity of the direction indicator.

Optional kind

kind: string

The type of control.

Optional meta

meta: IMeta

The collection of Meta properties for this control.

Optional position

position: IGridPlacement[]

A collection of grid placements controlling where the control is positioned on screen.

Optional sampleRate

sampleRate: number

The requested sample rate for this joystick, the client should send coordinate updates at this rate.

In milliseconds.

Generated using TypeDoc