Skip to main content

PlatformController

Callable

  • PlatformController(buttons: readonly GamepadButton[]): boolean

  • Handles the controller inputs


    Parameters

    • buttons: readonly GamepadButton[]

      The buttons pressed on the controller

    Returns boolean

    • Always TRUE to indicate that the controller is handled