Disable middle mouse button emulation when a real middle MB event is detected.

Devices may report middle mouse buttons even if they don't have one (PS/2
devices just don't know any better), so we can't be sure until we see the
event.
This commit is contained in:
Peter Hutterer
2008-06-10 22:48:01 +09:30
parent e8887435ac
commit 39dc453691
2 changed files with 3 additions and 8 deletions

View File

@@ -60,8 +60,8 @@ one of \*qPath\*q or \*qDevice\*q must be given.
.BI "Option \*qEmulate3Buttons\*q \*q" boolean \*q
Enable/disable the emulation of the third (middle) mouse button for mice
which only have two physical buttons. The third button is emulated by
pressing both buttons simultaneously. Default: on, unless the device reports
the presence of a physical button 3.
pressing both buttons simultaneously. Default: on, until a middle mouse
button event is registered.
.TP 7
.BI "Option \*qEmulate3Timeout\*q \*q" integer \*q
Sets the timeout (in milliseconds) that the driver waits before deciding