Monkey
Store
Community
Apps
Contact
Login or Signup

MouseX() MouseY() or store inside variable ?

Monkey Programming Forums/Monkey Programming/MouseX() MouseY() or store inside variable ?

jpoag(Posted 1+ years ago) 
iOS touch events are forwarded to the app delegate (defined in mojo.ios.cpp) which is in turn forwarded to the gxtInput class for caching.

Events (touch, etc..), Timers (Update() Loop), etc... all run as phases of the NSRunLoop.

For better details, read up on NSRunLoop, or CFRunLoop

https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#//apple_ref/doc/uid/10000057i-CH16