Using back button on device

A project to port LÖVE to Android handhelds
Locked
User avatar
Kasperelo
Party member
Posts: 343
Joined: Fri Apr 13, 2012 1:47 pm
Location: The Milky Way

Using back button on device

Post by Kasperelo »

How do I make specific things happen when the back button at the bottom of the device is pressed? Currently it does nothing.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Using back button on device

Post by Nixola »

I think you can catch it with love.keypressed, it should be "escape" if I recall correctly
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Kasperelo
Party member
Posts: 343
Joined: Fri Apr 13, 2012 1:47 pm
Location: The Milky Way

Re: Using back button on device

Post by Kasperelo »

Yeah, it is, apparently it was on the love-android-sdl wiki :P Sorry
Locked

Who is online

Users browsing this forum: No registered users and 4 guests