1TOUCHPAD-EDGE-DETECTOR(1)   General Commands Manual  TOUCHPAD-EDGE-DETECTOR(1)
2
3
4

NAME

6       touchpad-edge-detector - print the axis ranges for a touchpad device
7

SYNOPSIS

9       touchpad-edge-detector [--help] WxH /dev/input/eventX
10

DESCRIPTION

12       The  touchpad-edge-detector  tool reads touchpad events from the kernel
13       and records the minimum and maximum coordinates based  on  user  input.
14       This  is  an  interactive  tool, the user must move a finger around the
15       touchpad, attempting to trigger an event at all edges of the touchpad.
16
17       To terminate the event collection and print a summary, press Ctrl+C. It
18       is  recommended that the tool is run several times to guarantee a reli‐
19       able result.
20

OPTIONS

22       WxH     The width and height of the touchpad  in  mm.  For  a  touchpad
23               100mm  wide and 75mm high, the argument is thus 100x75. This is
24               a required argument.
25
26       /dev/input/eventX
27               The event node of the touchpad to read events from. A  list  of
28               possible  event  nodes  can  be obtained with either one of the
29               following commands: libinput record, evemu-record,  or  evtest.
30               Alternatively the event node for a device is listed in the Han‐
31               dlers= line /proc/bus/input/devices.  This is a required  argu‐
32               ment.
33
34       --help  Print a short help description
35

NOTES

37       On completion, this tool prints a summary of the collected events and a
38       suggested udev rule. Due to rounding errors it is rare to get an  exact
39       match  for  the touchpad's dimensions, but any discrepancy of more than
40       5mm should be corrected with the suggested udev rule.
41
42       The udev rule should be simplified and submitted as a pull  request  to
43       the  system  repository at https://github.com/systemd/systemd. For fur‐
44       ther guidance, see the file /usr/lib/udev/hwdb.d/60-evdev.hwdb.
45

SEE ALSO

47       udev(7)
48
49
50
51                                                     TOUCHPAD-EDGE-DETECTOR(1)
Impressum