mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-29 00:50:07 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
The big change here is the requirement to have the translation component in a device-normalized coordinate space. Without that, we cannot reliably rotate as the coordinate space is effectively unknown and may differ between the axes. This affects any rotation matrix or translation matrix, pure scale matrices were working just fine since they're unit-less. Requiring the matrix in device-normalized space makes it possible for libinput to rotate or otherwise handle the matrix independent of the screen resolution. The rotation matrix is documented in a bit more detail to make it easier for users to figure it out. This changes the definition of the WL_CALIBRATION property (which is currently broken). 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/