Skip to content

textmode.js / Textmodifier / gamepadButtonReleased

Method: gamepadButtonReleased()

ts
gamepadButtonReleased(callback): void;

Register the single-callback handler for gamepad button release events.

This is a legacy-style single-callback shortcut for the 'gamepadButtonReleased' event.

Parameters

ParameterTypeDescription
callbackGamepadButtonEventHandlerHandler to run with gamepad button data when a button is released.

Returns

void

Example