mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 10:30:28 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
Only exposes one knob - speed, normalized to a [-1, 1] range with 0 being the neutral "this is what we think is normal" speed. -1 and 1 reflect the slowest/fastest reasonable speed on this device. Note: with this API we commit to having any pointer accelerating as a true gliding scale. We cannot map the [-1,1] range into a discrete set of steps as we do not communicate to the caller whether a specific value has changed the acceleration. Without that, a caller may assume that acceleration has changed even when it is not visible to the user. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| doc | ||
| include/linux | ||
| m4 | ||
| src | ||
| test | ||
| tools | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| README | ||
libinput libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect. Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc. libinput originates from weston, the Wayland reference compositor. The source code of libinput can be found at: http://cgit.freedesktop.org/wayland/libinput For more information, visit: http://www.freedesktop.org/wiki/Software/libinput/