Type
KGamepad
: {index
: numberThe order of the gamepad in the gamepad list.
isPressed
(b: KGamepadButton): booleanIf certain button is pressed.
isDown
(b: KGamepadButton): booleanIf certain button is held down.
isReleased
(b: KGamepadButton): booleanIf certain button is released.
getStick
(stick: GamepadStick): Vec2Get the value of a stick.
A KAPLAY gamepad