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 <[email protected]>
---
Not sure if we want to do this. I'm somewhat tempted to push all WL_*
property parsing to the compositor and _not_ have a back-channel for
configuration in libinput.
As our brief stint with HAL in Xorg has shown, shoving configuration into a
different project does not make things easier.

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

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to