-
Notifications
You must be signed in to change notification settings - Fork 0
/
wackeys.1
56 lines (56 loc) · 1.29 KB
/
wackeys.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
45
46
47
48
49
50
51
52
53
54
55
56
.TH WacKeys 1 2021-02-27 "WacKeys v1.2.1" "WacKeys Manual"
.SH NAME
WacKeys \- A backend for Wacom ExpressKeys.
.SH SYNOPSIS
.B
wackeys
.OP OPTIONS
.SH DESCRIPTION
Wackeys offers a backend for Wacom tablet key events using
.B libinput
and redirecting these events to a socket that can be read by an external process.
.SH OPTIONS
.TP
\fB\-d, --daemon\fP
Run process as daemon.
.TP
\fB\-h, --help\fP
Display help and exit.
.TP
\fB\-s, --seat\fP
Define seat name to use. Default value is "seat0".
.TP
\fB\-v, --version\fP
Print version number and exit.
.SH SOCKET INFORMATION
Socket is created at \fB/tmp/WacKeys.sock\fP. \fBWackeys\fP sends key (and ring)
events, as well as pad mode to socket as 8 byte messages. The two first characters represent
button or ring state.
.TP
BP
Button press
.TP
BR
Button release
.TP
RR
Ring rotation
.TP
RD
Ring rotation release
.P
These are followed by number of button or ring position formatted as 3 digits.
The last part consists of \fBM\fP (referring to mode) followed by 2 digits number
representing the mode.
.SS
\fBExample\fB
.TP
\fBBP\fI001\fBM\fI03\fP
The second ExpressKey is pressed, mode layer 4.
.TP
\fBRP\fI270\fBM\fI00\fP
Current ring position is 270 degrees, mode layer 1.
.SH SEE ALSO
Visit <https://github.com/khalid151/WacKeys> for examples.
.SH AUTHOR
Khalid Jamal