Reduce the default timeout for the three button emulation

from 200 msec to 100 msec.
This commit is contained in:
Kazutaka YOKOTA 2000-04-21 14:20:25 +00:00
parent 428a34d8ec
commit 9c9d99932b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59465
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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