mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-03-24 01:24:06 +00:00
- Fix DFP detection in r128 driver (bug 1386, Klaus Kusche)
- Fix EmulateWheelInertia defaults (bug 1115, Andrew Pimlott)
This commit is contained in:
@@ -114,7 +114,7 @@ settings. Default: 4.
|
||||
.TP 7
|
||||
.BI "Option \*qEmulateWheelInertia\*q \*q" integer \*q
|
||||
Specifies how far (in pixels) the pointer must move to generate button
|
||||
press/release events in wheel emulation mode. Default: 50.
|
||||
press/release events in wheel emulation mode. Default: 10.
|
||||
.TP 7
|
||||
.BI "Option \*qEmulateWheelTimeout\*q \*q" integer \*q
|
||||
Specifies the time in milliseconds the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c,v 1.3 2004/07/24 17:35:39 herrb Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c,v 1.4 2004/10/17 20:29:35 agd5f Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c,v 1.79 2003/11/03 05:11:48 tsi Exp $ */
|
||||
/*
|
||||
*
|
||||
@@ -597,7 +597,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
|
||||
if (pMse->wheelInertia <= 0) {
|
||||
xf86Msg(X_WARNING, "%s: Invalid EmulateWheelInertia value: %d\n",
|
||||
pInfo->name, pMse->wheelInertia);
|
||||
pMse->wheelInertia = 50;
|
||||
pMse->wheelInertia = 10;
|
||||
}
|
||||
pMse->wheelButtonTimeout = xf86SetIntOption(pInfo->options,
|
||||
"EmulateWheelButtonTimeout", 200);
|
||||
|
||||
Reference in New Issue
Block a user