Best of “libinput on LWN”
Below, you’ll find a curated collection of the best libinput-related reports from LWN (Linux Weekly News).
But first, some background:
One of the most important components of the modern touchpad experience on Linux is the libinput
library (source code)—a project that was initiated in 2014 by Redhat and quickly grew to dominate input handling for X11 and Wayland based desktop environments (basically, any graphical Linux desktop).
It is currently maintained by Peter Hutterer, and is looking to be maintained by more developers.
In its earliest days, libinput
started as a rallying cry for sane input expectations in a heterogenous input device world. In addition to each X11 device driver’s unique quirks causing inconsistency, users also had to be fairly adept at configuring their system’s X11 conf files, since device order mattered and manual settings were plentiful.
libinput
has largely succeeded in easing and consolidating human device input on Linux. It has also been a key component in the input stack for other more complex input methods such as touchpads.
Throughout the transition (from pre-libinput
to today’s nearly ubiquitous libinput
Linux world), LWN has summarized reports from various sources including XDC (X.Org Developers Conference) and the primary author’s (Peter Hutterer’s) blog. Here are the highlights:
Sep. 2014: “Libinput - a common input stack”
- Introduces the problem and explains why libinput is needed
- See also the source at Peter Hutterer’s blog
Dec. 2014: “Pointer acceleration in libinput”
- Introduces the concept of a DPI database for mice
- See also the source at Peter Hutterer’s blog
Nov. 2015: “Version 1.0 released”
- Announced at XDC
- See also the presentation slides
Apr. 2016: “Libinput doesn’t have a lot of config”
- Explains why fewer config options makes maintaining the library easier
- See also the source at Peter Hutterer’s blog
Jul. 2016: “Libinput is done”
- Peter Hutterer explains how the original goals of libinput have now been achieved
Oct. 2016 “An update on input”
- Presentation at XDC
- See also the presentation slides
Oct. 2019 “An update on the input stack”
- Presentation at XDC
- Covers libinput testing utilities and input device testing infrastructure
- See also the presentation slides
If you’d like to dive in to hacking on libinput, please see our resources and docs pages.
Happy hacking from the LinuxTouchpad.org team!