logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

libinput-measure-touchpad-size - measure the size of a touchpad

Description

       The  libinputmeasuretouchpad-size  tool measures the size of a touchpad. This is an interactive tool.
       When executed, the tool will prompt the user to interact with the touchpad. The  tool  records  the  axis
       ranges  and  calculates  the  size  and resolution based on those. On termination, the tool prints a hwdb
       entry that can be added to the 60-evdev.hwdb file provided by system.

       For          details           see           the           online           documentation           here:
       https://wayland.freedesktop.org/libinput/doc/latest/absolute-coordinate-ranges.html

       This is a debugging tool only, its output may change at any time. Do not rely on the output.

       This tool usually needs to be run as root to have access to the /dev/input/eventX nodes.

Libinput

       Part of the libinput(1) suite

                                                                               libinput-measure-touchpad-size(1)

Name

       libinput-measure-touchpad-size - measure the size of a touchpad

Options

       This tool must be provided the physical dimensions of the device in mm.  For example, if your touchpad is
       100mm wide and 55mm high, run this tool as libinputmeasuretouchpad-size100x55

       If  a device node is given, this tool opens that device node. Otherwise, this tool searches for the first
       node that looks like a touchpad and uses that node.

       --help  Print help

Synopsis

libinputmeasuretouchpad-size[--help]WxH[/dev/input/event0]

See Also