1libinput-debug-events(1) libinput Manual libinput-debug-events(1)
2
3
4
6 libinput-debug-events - debug helper for libinput
7
9 libinput debug-events [options]
10
11 libinput debug-events [options] --udev <seat>
12
13 libinput debug-events [options] [--device] /dev/input/event0 [/dev/in‐
14 put/event1...]
15
17 The libinput debug-events tool creates a libinput context and prints
18 all events from these devices.
19
20 This is a debugging tool only, its output may change at any time. Do
21 not rely on the output.
22
23 This tool usually needs to be run as root to have access to the
24 /dev/input/eventX nodes.
25
27 --device /dev/input/event0
28 Use the given device(s) with the path backend. The --device ar‐
29 gument may be omitted.
30
31 --grab Exclusively grab all opened devices. This will prevent events
32 from being delivered to the host system.
33
34 --help Print help
35
36 --quiet Only print libinput messages, don't print anything from this
37 tool. This is useful in combination with --verbose for internal
38 state debugging.
39
40 --show-keycodes
41 Key events shown by this tool are partially obfuscated to avoid
42 passwords and other sensitive information showing up in the
43 output. Use the --show-keycodes argument to make all keycodes
44 visible.
45
46 --udev <seat>
47 Use the udev backend to listen for device notifications on the
48 given seat. The default behavior is equivalent to --udev
49 "seat0".
50
51 --verbose
52 Use verbose output
53
54 libinput configuration options
55 --apply-to="pattern"
56 Configuration options are only applied where the device name
57 matches the pattern. This pattern has no effect on the --dis‐
58 able-sendevents option.
59
60 --disable-sendevents="pattern"
61 Set the send-events option to disabled for the devices matching
62 patterns. This option is not affected by the --apply-to="pat‐
63 tern" option.
64
65 --enable-tap|--disable-tap
66 Enable or disable tap-to-click
67
68 --enable-drag|--disable-drag
69 Enable or disable tap-and-drag
70
71 --enable-drag-lock|--disable-drag-lock
72 Enable or disable drag-lock
73
74 --enable-natural-scrolling|--disable-natural-scrolling
75 Enable or disable natural scrolling
76
77 --enable-left-handed|--disable-left-handed
78 Enable or disable left handed button configuration
79
80 --enable-middlebutton|--disable-middlebutton
81 Enable or disable middle button emulation
82
83 --enable-dwt|--disable-dwt
84 Enable or disable disable-while-typing
85
86 --enable-dwtp|--disable-dwtp
87 Enable or disable disable-while-trackpointing
88
89 --enable-scroll-button-lock|--disable-scroll-button-lock
90 Enable or disable the scroll button lock
91
92 --set-click-method=[none|clickfinger|buttonareas]
93 Set the desired click method
94
95 --set-scroll-method=[none|twofinger|edge|button]
96 Set the desired scroll method
97
98 --set-scroll-button=BTN_MIDDLE
99 Set the button to the given button code
100
101 --set-profile=[adaptive|flat]
102 Set pointer acceleration profile
103
104 --set-speed=<value>
105 Set pointer acceleration speed. The allowed range is [-1, 1].
106
107 --set-tap-map=[lrm|lmr]
108 Set button mapping for tapping
109
111 Events shown by this tool may not correspond to the events seen by a
112 different user of libinput. This tool initializes a separate context.
113
115 Part of the libinput(1) suite
116
117
118
119libinput 1.21.0 libinput-debug-events(1)