Messages in this thread | | | Date | Mon, 2 Feb 2004 21:18:13 +0100 | From | Vojtech Pavlik <> | Subject | Re: 2.6 input drivers FAQ |
| |
On Mon, Feb 02, 2004 at 01:12:06PM -0500, Valdis.Kletnieks@vt.edu wrote:
> Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Device" "/dev/psaux" > Option "Protocol" "ExplorerPS/2" > Option "Buttons" "7" > Option "Emulate3Buttons" "on" > Option "ZAxisMapping" "6 7" > EndSection > > And if I *had* gotten it in there twice, why would it only hit sporadically > once or twice a day, as opposed to *all* mouse events (clicks, moves, > etc) being doubled?
Because normally the X server reads them in very quick succession and if you don't make a very short click, the sequence looks like this:
push1 push2 release1 release2, which is fine, because X interprets that as just a push and a release.
If there is disk activity or something else that causes the scheduling to be delayed, it's push1 release1 push2 release2, which counts as a doubleclick.
Hence sporadic doubleclicking.
For movement, of course, you get twice the mouse speed, but usually most people just adjust the acceleration settings and are done with that.
-- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |