README.md 1.58 KB
Newer Older
Peter Hutterer's avatar
Peter Hutterer committed
1
2
3
xf86-input-libinput - a libinput-based X driver
===============================================

Peter Hutterer's avatar
Peter Hutterer committed
4
The official repository for this driver is
5
https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput
Peter Hutterer's avatar
Peter Hutterer committed
6

Peter Hutterer's avatar
Peter Hutterer committed
7
8
This is an X driver based on libinput. It is a thin wrapper around libinput,
so while it does provide all features that libinput supports it does little
Peter Hutterer's avatar
Peter Hutterer committed
9
beyond.
Peter Hutterer's avatar
Peter Hutterer committed
10
11
12
13
14
15
16
17
18
19
20
21
22

***WARNING: misconfiguration of an X input driver may leave you without
usable input devices in your X session. Use with caution.***


Prerequisites
-------------

To build, you'll need the X.Org X server SDK (check your distribution for a
xorg-x11-server-devel package or similar) and libinput (check your
distribution for libinput-devel or similar).

To get libinput from source, see:
23
https://www.freedesktop.org/wiki/Software/libinput/
Peter Hutterer's avatar
Peter Hutterer committed
24
25

To build the X server from source:
26
https://www.x.org/wiki/Building_the_X_Window_System/
Peter Hutterer's avatar
Peter Hutterer committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

Building
--------

To build this driver:

    autoreconf -vif
    ./configure --prefix=$HOME/build
    make && make install

Note that this assumes the same prefix as used in "Building the X Window
System" above, adjust as required. If you want a system install, use a
prefix of */usr*.

Install the default configuration file:

    cp conf/99-libinput.conf /etc/X11/xorg.conf.d/

This will assign this driver to *all* devices. Use with caution.


Bugs
----

51
52
Bugs in libinput go to the Issues section of the libinput gitlab project:
https://gitlab.freedesktop.org/libinput/libinput/issues
Peter Hutterer's avatar
Peter Hutterer committed
53

54
55
Bugs in this driver go to the Issues section of its gitlab project:
https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/issues