Skip to content

Use latest libinput on fusuma

Kohei Yamada edited this page Nov 20, 2024 · 4 revisions

Build and Test latest libinput-tools

ref: https://wayland.freedesktop.org/libinput/doc/latest/building.html

Install dependencies

$ sudo apt install ninja-build meson libudev-dev libevdev-dev libmtdev-dev

Clone sources

$ git clone https://gitlab.freedesktop.org/libinput/libinput
$ cd libinput

Build and run libinput-debug-events

$ git checkout 1.14.1 # specify version you want to test
$ meson --prefix=/usr builddir/ -Dlibwacom=false -Ddebug-gui=false -Dtests=false -Ddocumentation=false
$ ninja -C builddir/
$ builddir/libinput-list-devices --version # check version
$ builddir/libinput-debug-events # execute libinput-debug-events

Replace input with the built libinput

Add following setting to config.yml

plugin:
  inputs:
    libinput_command_input:
      libinput-list-devices: /path/to/libinput/builddir/libinput-list-devices
      libinput-debug-events: /path/to/libinput/builddir/libinput-debug-events