file: Controller.aus

class: Controller

[20:7] extends: FxObj

Wraps FXGL's GameController class from the controllerinput module (com.almasb.fxgl.controllerinput.GameController, distinct from the lifecycle GameController exposed via fxgl.gameController). Named Controller in Aussom to avoid the collision. A Controller exposes the trigger and stick read-only properties plus the button state map. Aussom users obtain one from ControllerInputService.getGameControllers; direct construction requires native SDL2 setup and is not supported here.

Methods