Changing the tap event location?

Hello.Recently a friend of mine has broken his phone screen.Most of it is ok but he can’t use the bottom right part of it.I thought about making an app that allows the user to tap an area of the screen even when that part of the screen doesn’t actually respond to the touch.I have made it so that there is a green circle which is always 100 pixels to the right and 100 pixels down of the users touch.What I’d like to know is how can i make it,that if the user taps somewhere on the screen,that the location of the tap is changed to that of the green circle or even create a new tap at that location.Here is my code for now:

EDIT : Also is there a way to trigger the home button using code?

--create circle local circle = display.newCircle( 50, 50, 10 ) circle:setFillColor( 0, 1, 0 ) --move the circle local function moveCircle( event ) circle.x = event.x + 100; circle.y = event.y + 100; end --tap on where the circle is --this is where i'd put the code for changing the tap location --or making a new tap if possible local function setTap( event ) end --event listeners Runtime:addEventListener( "touch", moveCircle ) Runtime:addEventListener( "tap", setTap )

I might be misunderstanding the first query, but it appears that your intention is to develop a program that is always active on a mobile device, and “sits above” all other programs that run on the device. If this is accurate, Corona sdk won’t be able to accomplish this goal. The reason has been provided several times, with more detail than I can provide. The tl;dr is that the opengl layer that Corona sdk uses assumes an active thread, so if a Corona developed app is backgrounded, it will not operate as you expect when it’s foregrounded. If I misunderstood your intent, I apologize.

Re: your second question, below is a link to the docs on the keys that Corona sdk recognizes:

https://docs.coronalabs.com/daily/api/event/key/keyName.html

I might be misunderstanding the first query, but it appears that your intention is to develop a program that is always active on a mobile device, and “sits above” all other programs that run on the device. If this is accurate, Corona sdk won’t be able to accomplish this goal. The reason has been provided several times, with more detail than I can provide. The tl;dr is that the opengl layer that Corona sdk uses assumes an active thread, so if a Corona developed app is backgrounded, it will not operate as you expect when it’s foregrounded. If I misunderstood your intent, I apologize.

Re: your second question, below is a link to the docs on the keys that Corona sdk recognizes:

https://docs.coronalabs.com/daily/api/event/key/keyName.html