udev: drop WL_CALIBRATION, replace with LIBINPUT_CALIBRATION_MATRIX
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 26 Aug 2014 04:02:44 +0000 (14:02 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 1 Sep 2014 01:23:54 +0000 (11:23 +1000)
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>
src/udev-seat.c

index 2947e71265cc5463beeb54c4333246d04ac5d3d8..d0324dd031ab94e938f097bf292123212719e98d 100644 (file)
@@ -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",