local TouchConfigScene = SCENE:extend() TouchConfigScene.title = "Touchscreen config\n(you can tap anywhere on touch screen to select this)" function TouchConfigScene:new() -- TODO end function TouchConfigScene:update() -- TODO end function TouchConfigScene:render() MainBackground() drawText('Select button', 10, 10, 100, 'center') -- 0,10 120,30 end function TouchConfigScene:onInputPress(e) if e.input == 'menu_back' then SCENE = InputConfigScene() end end return TouchConfigScene