Event.LEFT_JOYSTICK

Available since version: Gideros 2011.6

Description:

Event for movement of the left joystick

Value:

Event.LEFT_JOYSTICK = "leftJoystick"

Event properties:

  • x: (number) x vector from -1 to 1
  • y: (number) y vector from -1 to 1
  • angle: (number) angle at which joystick is positioned in radians, left being 0 and increasing in clockwise direction
  • strength: (number) distance vector from the center to current position from 0 to 1
  • playerId: (number) id of controller/player