Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mgl:functionreferencekeyboardandmouse [2013/05/04 12:37]
justin
mgl:functionreferencekeyboardandmouse [2013/05/04 12:37] (current)
justin
Line 42: Line 42:
 **usage:** mglGetMouseEvent(waitTicks)\\ **purpose:​** returns a mouse down event waitTicks specifies how long to wait for a mouse event in seconds. Note that the timing precision is system-dependent:​ **usage:** mglGetMouseEvent(waitTicks)\\ **purpose:​** returns a mouse down event waitTicks specifies how long to wait for a mouse event in seconds. Note that the timing precision is system-dependent:​
  
-  * Mac OS X: nanosecond (gets timestamp from background thread [[:​mgl:​functionreferencekeyboardandmouse#​mglListener|mglListener]])+  * Mac OS X: nanosecond (gets timestamp from background thread [[:​mgl:​functionreferencekeyboardandmouse#​mglListener:​_Background_process_that_reads_mouse_and_keyboard_events|mglListener]])
   * Linux: 1/HZ s where HZ is the system kernel tick frequency (HZ=100 on older systems, HZ=250 or 500 on more modern systems)   * Linux: 1/HZ s where HZ is the system kernel tick frequency (HZ=100 on older systems, HZ=250 or 500 on more modern systems)