Libinput Is Great & Improves Linux Input Handling
With Weston 1.6 release the libinput library is now used by default for handling input. Linux input expert Peter Hutterer at Red Hat has written a lengthy blog post to explain the need for libinput and how it's improving device input on Linux.
Libinput is simply put a generic input handling library for Linux. Libinput was designed for the needs of Wayland/Weston to have one input handling implementation that can be used by different Wayland compositors rather than each having their own implementation -- which would be timely to implement and leave varying degrees of support between different compositors. Now there's one full-featured library for taking care of all the input needs. Not only can libinput be used by Wayland compositors but libinput can be adapted to other environments like Canonical's Mir display server. Peter also mentions that libinput could even be made as the basis for a new X.Org input driver.
For those wanting to better understand the internals of libinput and the input stack on Wayland, read Peter's blog post.
Libinput is simply put a generic input handling library for Linux. Libinput was designed for the needs of Wayland/Weston to have one input handling implementation that can be used by different Wayland compositors rather than each having their own implementation -- which would be timely to implement and leave varying degrees of support between different compositors. Now there's one full-featured library for taking care of all the input needs. Not only can libinput be used by Wayland compositors but libinput can be adapted to other environments like Canonical's Mir display server. Peter also mentions that libinput could even be made as the basis for a new X.Org input driver.
For those wanting to better understand the internals of libinput and the input stack on Wayland, read Peter's blog post.
6 Comments