%general-entities; ]> $LastChangedBy: renodr $ $Date: 2015-09-14 17:42:53 -0500 (Mon, 14 Sep 2015) $ libinput-&libinput-version; libinput Introduction to libinput libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. &lfs82_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libinput-md5sum; Download size: &libinput-size; Estimated disk space required: &libinput-buildsize; Estimated build time: &libinput-time; libinput Dependencies Required and Optional (to run the tests), and (to build the documentation) (to build the GUI event viewer), libunwind (required for tests), libwacom , and (for one non-root test) User Notes: kernel configuration for running the libinput testsuite Although libinput works with the same kernel configuration used by , its extensive testsuite requires the presence of /dev/uinput (as well as both and libunwind). If you wish to run the full tests, enable the following option in the kernel configuration and recompile the kernel if necessary: Device Drivers ---> Input device support ---> Miscellaneous Devices ---> <*/M> User level driver support [CONFIG_INPUT_UINPUT] If you build this as a module, it needs to be inserted before the testsuite runs. On an Xorg system you will also need to prevent the events generated during the testsuite from interfering with your desktop. Copy the file test/50-litest.conf into ${XORG_PREFIX}/share/X11/xorg.conf.d and restart X. For further information see libinput test suite. libinput Installation of libinput Install libinput by running the following commands: mkdir build && cd build && meson --prefix=$XORG_PREFIX \ -Dudev-dir=/lib/udev \ -Ddebug-gui=false \ -Dtests=false \ -Ddocumentation=false \ -Dlibwacom=false \ .. && ninja If you want to run the full tests, remove -Dtests from the meson command above. Please read "kernel configuration for running the libinput testsuite" (above). If you have enabled the full tests, you can run the main tests as the root user by executing: ninja test. A very large number of tests will be run, about 20 fail (at least on an Xorg system). Now, as the root user: ninja install If and were present during the build, you can install the generated documentation by running the following commands as the root user: install -v -dm755 /usr/share/doc/libinput-&libinput-version; && cp -rv html/* /usr/share/doc/libinput-&libinput-version; Command Explanations : This switch specifies where UDev rules and hwdb files will be installed. : This switch disables creation of a visual debug helper for libinput. Remove if you want it, and you have installed. : This switch disables compilation of the main tests. Even with the tests defined as false, you can still run the first four minor tests, as a regular user, but one will be skipped if is not installed. : This switch disables generation of the documentation. Remove if you want to generate it, and you have and installed. : Remove this option if you have the external library libwacom installed. Contents Installed Programs Installed Libraries Installed Directories libinput, libinput-debug-events, libinput-list-devices, libinput-measure*, libinput-record, libinput-replay libinput.so $XORG_PREFIX/libexec/libinput and (optional) /usr/share/doc/libinput-&libinput-version; Short Descriptions libinput is a set of tools to interface with the libinput library. libinput libinput-debug-events is a debug helper for libinput. libinput-debug-events libinput-list-devices lists local devices as recognized by libinput. libinput-list-devices libinput-measure is the entry to a set of debugging programs to measure the properties of one or more devices. libinput-measure libinput-record records kernel events from a device in a form that can later be replayed by libinput-replay. libinput-record libinput-replay replays kernel events from a recording made by libinput-record. libinput-replay libinput.so contains API functions for handling input devices. libinput.so