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

Register an event that runs every frame when certain gamepad buttons are held down.

sincev3001.0

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

Register an event that runs every frame when any gamepad buttons are held down.

sincev3001.0

kaplay logo

3001.0.0-alpha.18

Misc