lovr.controllerremoved

This callback is called when a Controller is disconnected or turned off.

function lovr.controllerremoved(controller)
  -- your code here
end

Arguments

NameTypeDescription
controllerControllerThe controller that was removed.

Returns

Nothing

See also