Skip to content

Instantly share code, notes, and snippets.

Created August 15, 2012 18:14
Show Gist options
  • Save anonymous/3362051 to your computer and use it in GitHub Desktop.
Save anonymous/3362051 to your computer and use it in GitHub Desktop.
touchListener
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