Closing window?
Posted: Sun Jan 31, 2010 3:53 am
Is it possible to close the window by pressing a key, i've been looking on the doc for about 1 hour and i haven't found anything to close the window without using your mouse.
Code: Select all
love.event.push('q') --Exits LOVE
Code: Select all
function love.keypressed( key )
if key == "escape" then
love.event.push("q")
end
end