Write a single library to handle all input devices, it'll be easy they said...
summary
A single C library called libinput is presented as the unified input backend used by all major Wayland compositors and the default X.org input driver (Fedora switched in 2016); it replaces multiple legacy drivers with one stack, an X driver wrapper xf86-input-libinput, and a quirks database of device fixes. It handles mice, touchpads, tablets and touchscreens (not joysticks), implements seven palm-detection methods, normalizes units, reduces per-user configs, and works but suffers a low-maintenance bus factor and some missing legacy features.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:15XHHandles Input Devices
- 5:07Wayland
- 9:38X
- 11:12API Design
- 12:58Configuration
- 16:10User Preferences
- 19:17Button Mapping
- 21:59Touch Support
- 23:17Palm Detection
- 28:04WhackaMole
- 31:26Thumb Detection
- 34:05Live Input
- 37:41Normalize
- 38:25Conclusion
related talks
26mTouchscreens: Upstreaming Input Drivers
30mHello Wayland, Goodbye X11 - The year of the Linux desktop!
44mGraphics: A Frame's Journey
46mTeaching an old Bovine Gnu Tricks: What's next for Emacs?
32mThe Modern Linux Graphics Stack on Embedded Systems
37mIntegrating Hardware-accelerated Video Decoding with the Display Stack
41mHow to Avoid Writing Device Drivers for Embedded Linux
35mSupporting Hardware Codecs in a Linux system
