-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathptrkeys.1
84 lines (84 loc) · 1.67 KB
/
ptrkeys.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.TH PTRKEYS 1
.SH NAME
ptrkeys \- mouse keys for X11
.SH SYNOPSIS
.B ptrkeys
.RB [ \-d | \-\-debug ]
.RB [ \-h | \-\-help ]
.RB [ \-\-version ]
.SH DESCRIPTION
ptrkeys binds the keyboard to pointer movement, scrolling, and mouse button presses on X.
.P
See README.md in the source repository for more information.
.SH OPTIONS
.TP
.B \-d, \-\-debug
Enable debug output.
.TP
.B \-h, \-\-help
Print help.
.TP
.B \-\-version
Print version.
.SH DEFAULT KEY BINDINGS
By default ptrkeys has a handful of "global hotkeys", marked with "(global)" below, that are passively grabbed with X and used to actively grab the keyboard so the rest of the keybindings are active.
.SS Enable/Disable
.TP
.B Mod4+w (global)
Grab the keyboard.
.TP
.B q
Ungrab the keyboard
.TP
.B Select (global)
Grab the keyboard, enabling other bindings.
.TP
.B Shift+Select (global)
Grab the keyboard and set the movement keys to scroll instead.
.TP
.B Mod4+v (global)
Toggle whether the keyboard is grabbed.
.TP
.B x
quit ptrkeys
.SS Directional control
.TP
.B w a s d
Move up, down, left, right, respectively.
.TP
.B Shift_L
While pressed, movement keys scroll instead.
.TP
.B f
Toggle movement keys between moving and scrolling.
.SS Speed multiply/divide
.TP
.B Alt_L
Divide speed by a factor of 8.
.TP
.B Control_L
Multiply speed by a factor of 32.
.TP
.B j
Divide speed by a factor of 8.
.TP
.B k
Divide speed by a factor of 2.
.TP
.B l
Multiply speed by a factor of 4.
.TP
.B semicolon
Multiply speed by a factor of 8.
.SS Clicking
.TP
.B space
Left-click.
.TP
.B e or n
Right-click.
.TP
.B r or m
Middle-click.
.SH CUSTOMIZATION
Change ptrkeys key bindings by compiling it from source, using config.def.h as a template for a custom config.h.