get_default_map = function() -- Suggest a map for one's own code. -- Mostly the driver manages its map of an app's code outside the app. However, an app can suggest a default map for people who haven't created one. live.send_to_app('DEFAULT_MAP') local response repeat love.timer.sleep(0.01) response = live.receive_from_app() until response local result = {} if #response == 0 then return result end return json.decode(response) end