Reduce the default timeout for the three button emulation
from 200 msec to 100 msec.
This commit is contained in:
parent
428a34d8ec
commit
9c9d99932b
@ -119,7 +119,7 @@ daemon waits
|
|||||||
.Ar timeout
|
.Ar timeout
|
||||||
msec at most before deciding whether two buttons are being pressed
|
msec at most before deciding whether two buttons are being pressed
|
||||||
simultaneously.
|
simultaneously.
|
||||||
The default timeout is 200 msec.
|
The default timeout is 100 msec.
|
||||||
.It Fl F Ar rate
|
.It Fl F Ar rate
|
||||||
Set the report rate (reports/sec) of the device if supported.
|
Set the report rate (reports/sec) of the device if supported.
|
||||||
.It Fl I Ar file
|
.It Fl I Ar file
|
||||||
|
@ -76,7 +76,7 @@ static const char rcsid[] =
|
|||||||
#define MAX_CLICKTHRESHOLD 2000 /* 2 seconds */
|
#define MAX_CLICKTHRESHOLD 2000 /* 2 seconds */
|
||||||
#define MAX_BUTTON2TIMEOUT 2000 /* 2 seconds */
|
#define MAX_BUTTON2TIMEOUT 2000 /* 2 seconds */
|
||||||
#define DFLT_CLICKTHRESHOLD 500 /* 0.5 second */
|
#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 TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user