pushScriptedGamepadInvocation abstract method
void
pushScriptedGamepadInvocation({})
Push the Lua userdata expected by a ScriptedDrawable's
gamepadConnected / gamepadEvent / gamepadDisconnected method.
kind is 0 (connected), 1 (event), or 2 (disconnected). changeKind,
changeIndex, and changeValue are only consumed when kind is event.
Implementation
void pushScriptedGamepadInvocation({
required int kind,
required int deviceId,
required int buttonMask,
required List<double> buttonValues,
required List<double> axes,
required int mapping,
int changeKind = 0,
int changeIndex = 0,
double changeValue = 0,
});