mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 18:10:28 +01:00
udev: drop WL_CALIBRATION, replace with LIBINPUT_CALIBRATION_MATRIX
WL_CALIBRATION is a weston-specific property that required the translation component of the matrix to be in pixels. libinput can't provide calibration based on unknown outputs, so drop support for this property. The basic functionality is maintained, renaming just makes the change in behavior more explicit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
13972efd82
commit
25eb749163
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ device_added(struct udev_device *udev_device, struct udev_input *input)
|
|||
|
||||
calibration_values =
|
||||
udev_device_get_property_value(udev_device,
|
||||
"WL_CALIBRATION");
|
||||
"LIBINPUT_CALIBRATION_MATRIX");
|
||||
|
||||
if (calibration_values && sscanf(calibration_values,
|
||||
"%f %f %f %f %f %f",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue