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:
Peter Hutterer 2014-08-26 14:02:44 +10:00
parent 13972efd82
commit 25eb749163

View 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",