1libinput-measure-touchpad-sizGee(n1e)ral Commands Mlainbuianlput-measure-touchpad-size(1)
2
3
4
6 libinput-measure-touchpad-size - measure the size of a touchpad
7
9 libinput measure touchpad-size [--help] WxH [/dev/input/event0]
10
12 The libinput measure touchpad-size tool measures the size of a touch‐
13 pad. This is an interactive tool. When executed, the tool will prompt
14 the user to interact with the touchpad. The tool records the axis
15 ranges and calculates the size and resolution based on those. On termi‐
16 nation, the tool prints a hwdb entry that can be added to the
17 60-evdev.hwdb file provided by system.
18
19 For details see the online documentation here: https://way‐
20 land.freedesktop.org/libinput/doc/latest/absolute-coordinate-
21 ranges.html
22
23 This is a debugging tool only, its output may change at any time. Do
24 not rely on the output.
25
26 This tool usually needs to be run as root to have access to the
27 /dev/input/eventX nodes.
28
30 This tool must be provided the physical dimensions of the device in mm.
31 For example, if your touchpad is 100mm wide and 55mm heigh, run this
32 tool as libinput measure touchpad-size 100x55
33
34 If a device node is given, this tool opens that device node. Otherwise,
35 this tool searches for the first node that looks like a touchpad and
36 uses that node.
37
38 --help Print help
39
41 Part of the libinput(1) suite
42
43
44
45 libinput-measure-touchpad-size(1)