summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-04-21 14:20:25 +0000
committeryokota <yokota@FreeBSD.org>2000-04-21 14:20:25 +0000
commit1f7d68ff761c072eadb594cbf525afd672569957 (patch)
tree3f55831b572193796c224ecb58866521dd711bda /usr.sbin/moused
parent1116936479ee85da86700b48a926930072615360 (diff)
downloadFreeBSD-src-1f7d68ff761c072eadb594cbf525afd672569957.zip
FreeBSD-src-1f7d68ff761c072eadb594cbf525afd672569957.tar.gz
Reduce the default timeout for the three button emulation
from 200 msec to 100 msec.
Diffstat (limited to 'usr.sbin/moused')
-rw-r--r--usr.sbin/moused/moused.82
-rw-r--r--usr.sbin/moused/moused.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/moused/moused.8 b/usr.sbin/moused/moused.8
index 5f0449f..45d8485 100644
--- a/usr.sbin/moused/moused.8
+++ b/usr.sbin/moused/moused.8
@@ -119,7 +119,7 @@ daemon waits
.Ar timeout
msec at most before deciding whether two buttons are being pressed
simultaneously.
-The default timeout is 200 msec.
+The default timeout is 100 msec.
.It Fl F Ar rate
Set the report rate (reports/sec) of the device if supported.
.It Fl I Ar file
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c
index 0bbe0bd..1157bd8 100644
--- a/usr.sbin/moused/moused.c
+++ b/usr.sbin/moused/moused.c
@@ -76,7 +76,7 @@ static const char rcsid[] =
#define MAX_CLICKTHRESHOLD 2000 /* 2 seconds */
#define MAX_BUTTON2TIMEOUT 2000 /* 2 seconds */
#define DFLT_CLICKTHRESHOLD 500 /* 0.5 second */
-#define DFLT_BUTTON2TIMEOUT 200 /* 0.2 second */
+#define DFLT_BUTTON2TIMEOUT 100 /* 0.1 second */
#define TRUE 1
#define FALSE 0
OpenPOWER on IntegriCloud