From f41fbb1a7c6c5e9e3ac4def1d5fda4214857624f Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Thu, 26 Nov 2009 16:42:52 +0000 Subject: Documentation for Emulate3Buttons and Emulate3Timeout and the associated properties. --- man/ws.man | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/man/ws.man b/man/ws.man index 1044004..afade37 100644 --- a/man/ws.man +++ b/man/ws.man @@ -25,6 +25,8 @@ WS \- wscons pointer input driver for *BSD .BI " Identifier \*q" name \*q .B " Driver \*qws\*q" .BI " Option \*qButtons\*q \*q" integer \*q +.BI " Option \*qEmulate3Buttons\*q \*q" boolean \*q +.BI " Option \*qEmulate3Timeout\*q \*q" integer \*q .BI " Option \*qDebugLevel\*q \*q" integer \*q .BI " Option \*qDevice\*q \*q" path \*q .BI " Option \*qMinX\*q \*q" integer \*q @@ -57,6 +59,18 @@ Specifies the number of mouse buttons. In cases where the number of buttons cannot be auto-detected, the default value is 3. .TP 4 +.BI "Option \*qEmulate3Buttons\*q \*q" boolean \*q +Enable/disable the emulation of the middle mouse button for mice which +only have two physical buttons. The third button is emulated by pressing +both buttons simultaneously. Default: on, until a middle button event +is detected. +.TP 4 +.BI "Option \*qEmulate3Timeout\*q \*q" integer \*q +Sets the timeout (in milliseconds) that the driver waits before deciding +if two buttons where pressed "simultaneously" when 3 button emulation is +enabled. Default: 50. +.TP 4 +.TP 4 .BI "Option \*qDebugLevel\*q \*q" integer \*q This option sets the verbosity level of the driver. It defaults to 0, which means no extra debug output. @@ -116,6 +130,12 @@ The following properties are provided by the .B ws driver. .TP 7 +.BI "WS Pointer Middle Button Emulation" +1 boolean value (8 bit, 0 or 1) +.TP 7 +.BI "WS Pointer Middle Button Timeout" +1 16-bit positive value (unit: milliseconds) +.TP 7 .BI "WS Pointer Axis Calibration" 4 32 bits values, in the order min-x, max-x, min-y, max-y. This property is present only for devices with absolute coordinates (ie -- cgit v1.2.3