onGamepadButtonPress(btn: KGamepadButton | KGamepadButton[], action: (btn: KGamepadButton)=>void): KEventController

Register an event that runs when user presses certain gamepad button.

sincev3001.0

onGamepadButtonPress(action: (btn: KGamepadButton)=>void): KEventController

Register an event that runs when user presses any gamepad button.

sincev3001.0

kaplay logo

3001.0.0-alpha.18

Misc