Some very old mice may need to have the mouse protocol
specified; this can be set with an Option "Protocol" entry.
3.8 Configuring a Two-Button Mouse
The X Window system supports mice with almost any number of buttons. Most X
users prefer mice with three or more buttons, since many X applications permit pasting
with the middle mouse button (Section 5.4)??”a great timesaver.
If you have a two-button mouse, you can configure the server to interpret the simultaneous
press of both buttons as a middle mouse click. To set this up, add the
Emulate3Buttons option to the mouse??™s InputDevice section:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "On"
EndSection
Most mice equipped with scrollwheels have a middle button switch
attached to the scrollwheel. Simply press the scrollwheel in to click the
middle button.
As long as the mouse buttons are pressed within 50 milliseconds (1/20 of a second)
of each other, a middle click will be registered instead. If you find it difficult to press
them almost simultaneously, you can adjust the time factor with the Emulate3Timeout
option:
Option "Emulate3Timeout" "250"
That would set the threshold for detection of simultaneous presses to 250 milliseconds,
or one quarter of a second.
Pages:
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107