Add libinput based input device backend

Graphics / Wayland / Weston - Jonas Ã…dahl [gmail.com] - 12 March 2014 16:55 UTC

While disable by default, passing --enable-libinput-backend to ./configure switches the input backend in weston's drm, fbdev and rpi compositing backends to use libinput instead of udev-seat.c, evdev.c and friends.

When enabled, weston now also depends on libinput >= 0.1.0.

e0de3c2 Add libinput based input device backend
Makefile.am | 43 +++---
configure.ac | 12 ++
src/compositor-drm.c | 2 +-
src/compositor-fbdev.c | 2 +-
src/compositor-rpi.c | 5 +-
src/libinput-device.c | 364 ++++++++++++++++++++++++++++++++++++++++++++++++
src/libinput-device.h | 75 ++++++++++
src/libinput-seat.c | 353 ++++++++++++++++++++++++++++++++++++++++++++++
src/libinput-seat.h | 62 +++++++++
src/udev-input.h | 34 +++++
10 files changed, 931 insertions(+), 21 deletions(-)

Upstream: cgit.freedesktop.org


  • Share