onGamepadStick(stick: GamepadStick, action: (value: Vec2, gameepad: KGamepad)=>void): KEventController

Register an event that runs when the gamepad axis exists.

paramstick- The stick to listen for.

paramaction- The function to run when the event is triggered.

returnsThe event controller.

sincev3000.0

kaplay logo

Misc

Layer