Skip to content

Use latest libinput on fusuma

Kohei Yamada edited this page Nov 24, 2020 · 3 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
$ sudo apt install libudev-dev
$ sudo apt install libevdev-dev
$ sudo apt install 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