mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 22:30:13 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
Function arguments with fixed length are still just pointers, so sizeof(calibration) here is sizeof(float*), not sizeof(float) * 6. evdev.c: In function 'evdev_device_calibrate': evdev.c:693:54: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'float *' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy(device->abs.calibration, calibration, sizeof calibration); Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| m4 | ||
| src | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| 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.