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 2947e71..d0324dd 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",