lovr.controlleradded

This callback is called when a Controller is connected, discovered, or woken up.

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

Arguments

NameTypeDescription
controllerControllerThe new controller object.

Returns

Nothing

See also