aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-28 09:47:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-31 11:01:26 +1000
commit21a2ac818e75ef918d320ce1e88b6263e68e598d (patch)
tree35abac3ad12f84520bfd24260019a63c6e56e30d /src/evdev.h
parentRemove libc wrappers for malloc, calloc and free. (diff)
downloadxf86-input-evdev-21a2ac818e75ef918d320ce1e88b6263e68e598d.tar.gz
xf86-input-evdev-21a2ac818e75ef918d320ce1e88b6263e68e598d.tar.bz2
xf86-input-evdev-21a2ac818e75ef918d320ce1e88b6263e68e598d.zip
Disable middle mouse button emulation by default.
The AUTO feature was the default, MB emulation was on until a middle mouse button was pressed. MB emulation however results in a delay of the first press, causing minor annoyances to the users and being generally confusing when the behaviour before a button press is different to after a button pres. Disable the feature by default instead. There's not a lot of two-button mice around anymore though and the inability to detect two-button mice makes for non-deterministic detection of when the emulation should be on. Middle button emulation can be enabled with a configuration snippet: Section "InputClass" Identifier "middle button emulation" MatchIsPointer "on" Option "Emulate3Buttons" "on" EndSection Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 8c89f83..4945140 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -214,7 +214,6 @@ void EvdevMBEmuBlockHandler(pointer, struct timeval**, pointer);
void EvdevMBEmuPreInit(InputInfoPtr);
void EvdevMBEmuOn(InputInfoPtr);
void EvdevMBEmuFinalize(InputInfoPtr);
-void EvdevMBEmuEnable(InputInfoPtr, BOOL);
/* Mouse Wheel emulation */
void EvdevWheelEmuPreInit(InputInfoPtr pInfo);