Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JoyStick

Index

Properties

onchangesw

onchangesw: function

Type declaration

    • (pressed: boolean): void
    • Parameters

      • pressed: boolean

      Returns void

onchangex

onchangex: function

Type declaration

    • (val: number): void
    • Parameters

      • val: number

      Returns void

onchangey

onchangey: function

Type declaration

    • (val: number): void
    • Parameters

      • val: number

      Returns void

Methods

getXWait

  • getXWait(): Promise<number>
  • Returns Promise<number>

getYWait

  • getYWait(): Promise<number>
  • Returns Promise<number>

isPressedWait

  • isPressedWait(): Promise<boolean>
  • Returns Promise<boolean>

Generated using TypeDoc