Created
August 15, 2012 18:14
-
-
Save anonymous/3362051 to your computer and use it in GitHub Desktop.
touchListener
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function touchListener( event ) | |
--- Debug Event parameters printout -------------------------------------------------- | |
print();print( "Listener events:" ) | |
for k,v in pairs( event ) do | |
print( " " .. tostring( k ) .. "(" .. tostring( v ) .. ")" ) | |
end | |
--- End of debug Event routine ------------------------------------------------------- | |
return true | |
end | |
Runtime:addEventListener( "touch", touchListener ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment