Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Joystick

Index

Properties

name

name: string

numAxes

numAxes: number

numButtons

numButtons: number

Static Null

Null: Joystick

Static P1

Static P2

Static P3

Static P4

Methods

getPosition

  • getPosition(axisID: number): number

isPressed

  • isPressed(buttonID: number): boolean

Static getDevices

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc