forked from jcs/tpadnav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtpadnav.1
44 lines (44 loc) · 974 Bytes
/
tpadnav.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.Dd $Mdocdate$
.Dt TPADNAV 1
.Os
.Sh NAME
.Nm tpadnav
.Nd generate back and forward keyboard events from touchpad gestures
.Sh SYNOPSIS
.Nm
.Op Fl d Ar display
.Op Fl i Ar interval
.Op Fl v
.Sh DESCRIPTION
.Nm
listens for mouse button 6 and 7 events generated by the
.Ox
.Xr wsmouse 4
driver in response to two-finger left and right scrolling and then injects
fake
.Sq XF86XK_Back
and
.Sq XF86XK_Forward
keyboard events with the XTest extension.
Button events are throttled to only generate a keyboard event every
.Ar interval
milliseconds.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl d Ar display
Use a different X11 display named
.Ar display .
.It Fl i Ar interval
Allow a keyboard event to be generated every
.Ar interval
milliseconds instead of the default 750.
.It Fl v
Be verbose in reporting activity.
.El
.Sh AUTHORS
.Nm
was written by
.An joshua stein Aq Mt jcs@jcs.org .
.Sh CAVEATS
Some applications like Chrome ignore keyboard events generated by the
Xtest extension.