Peter Hutterer bf8dc2e2ed Upgrade the default scroll distance to 120
This is just a number, to be used as divider and shouldn't have any effect in
correctly written clients. With the high-res scrolling coming up however, we
have a few devices where the dist cannot be expressed as an integer fraction
of 15, so let's up it to 120 because we know all hardware wheels have to be an
integer fraction of that that, thanks to Microsoft's API requirements.

For non-wheel scrolls we need to now map into the new range. Previously we
just passed the scroll events on from the touchpad/button scrolling, meaning a
vdist of 15 meant 15 "libinput pixels" of scrolling resulted in a logical
wheel click. Now that we have 120 as vdist, we need to times the input data by
8 to keep the same proportions.

See 39b0bb4585 for the previous revert.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-08-04 12:09:54 +02:00
2021-03-24 13:28:56 +10:00
2021-04-06 15:51:35 +10:00
2017-01-26 14:00:21 +10:00
2021-06-24 08:26:19 +10:00
2021-03-24 13:28:56 +10:00
2018-11-18 11:48:07 -08:00

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

The official repository for this driver is https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput

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.

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

To build the X server from source: https://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 Issues section of the libinput gitlab project: https://gitlab.freedesktop.org/libinput/libinput/issues

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

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