From 25eb749163e892c6e6aa9f9be97282eca125fa57 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 26 Aug 2014 14:02:44 +1000 Subject: [PATCH] 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 Reviewed-by: Hans de Goede --- src/udev-seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev-seat.c b/src/udev-seat.c index 2947e712..d0324dd0 100644 --- a/src/udev-seat.c +++ b/src/udev-seat.c @@ -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", -- 2.34.1