mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-08 08:10:14 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
Instead of automatically transforming absolute coordinates of touch and pointer events to screen coordinates, the user now uses the corresponding transform helper function. This means the coordinates returned by libinput_event_pointer_get_absolute_x(), libinput_event_pointer_get_absolute_y(), libinput_touch_get_x() and libinput_touch_get_y() has changed from being in output screen coordinate space to being in device specific coordinate space. For example, where one before would call libinput_event_touch_get_x(event), one now calls libinput_event_touch_get_x_transformed(event, output_width). Signed-off-by: Jonas Ådahl <jadahl@gmail.com> |
||
|---|---|---|
| doc | ||
| m4 | ||
| src | ||
| test | ||
| tools | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| README | ||
This library does processing on input device events while providing an API to the the user used for delegating more useful input events. Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc. It is based on the input code from the weston Wayland reference compositor. It has no other dependencies than libmtdev and supports only evdev devices.