mouse click latency

Carsten Haitzler (The Rasterman) raster at
Wed Apr 23 17:39:59 PDT 2008

On Wed, 23 Apr 2008 10:24:46 -0400 "Dan B. Phung" <phung at>

middle mouse button emulation. (it's waiting to see if right mouse gets pressed
during he timeout so it can fake a middle button). turn that off - or get a
middle button, or live without middle button... (ewwww!)

> I'm timing the latency for an application (a screensaver in this case) 
> to handle a mouse click.  I take a timestamp in the mouse driver 
> (appletouch, usb) and another timestamp when the screensaver handles the 
> event.  For the appletouch driver I get a latency of ~83 ms, and the usb 
> mouse is ~57 ms, which seems like madness.  Keyboard clicks are ~5.7 ms 
> which are more on the order of what I expected for the mouse clicks.  
> What's the expected latency of mouse clicks?
> config:
> Macbook, running Ubuntu 7.10
> Linux kernel
> Xorg 7.2, Mesa 7.0,
> xscreensaver-5.03
> -dan
> _______________________________________________
> xorg mailing list
> xorg at

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at

More information about the xorg mailing list