Peter Hutterer d9c212d266 Init the right number of buttons for pointer devices
This only makes room for the highest button number present on the device, it
doesn't cater for devices with 'holes'. i.e. if a device has only BTN_BACK, it
will initialize buttons for all below too.

Which is also evdev's current behavior.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-11-19 14:40:58 +10:00
2014-08-07 09:48:32 +10:00
2014-10-05 22:48:30 +10:00
2014-09-26 14:25:20 +10:00
2014-06-26 15:35:44 +10:00
2014-09-26 14:25:20 +10:00
2014-08-07 10:04:42 +10:00

xf86-input-libinput - a libinput-based X driver

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 beyond. It has no configuration options at the moment.

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: http://www.freedesktop.org/wiki/Software/libinput/

To build the X server from source: http://www.x.org/wiki/Building_the_X_Window_System/

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

Bugs in libinput go to the "libinput" component of wayland: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland

For Bugs in this driver, send me an email

Description
No description provided
Readme 1.3 MiB
Languages
C 93.9%
M4 2.5%
Meson 1.9%
Makefile 1.5%
Shell 0.2%