From 2c7eab5a6d28cf8bbf34fba79601dac4e6e37d7e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 4 Feb 2012 23:32:56 +1000 Subject: Drop trackstick emulation mode "Trackstick emulation mode? That exists?" I hear you say? Yes, indeed. Well, no, not anymore. This driver is already unmaintainable without features like this. Signed-off-by: Peter Hutterer Acked-by: Chase Douglas --- src/properties.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/properties.c') diff --git a/src/properties.c b/src/properties.c index 44ac306..5a90d17 100644 --- a/src/properties.c +++ b/src/properties.c @@ -205,7 +205,7 @@ InitDeviceProperties(InputInfoPtr pInfo) values[0] = para->finger_low; values[1] = para->finger_high; - values[2] = para->finger_press; + values[2] = 0; prop_finger = InitAtom(pInfo->dev, SYNAPTICS_PROP_FINGER, 32, 3, values); prop_tap_time = @@ -251,7 +251,7 @@ InitDeviceProperties(InputInfoPtr pInfo) fvalues[0] = para->min_speed; fvalues[1] = para->max_speed; fvalues[2] = para->accl; - fvalues[3] = para->trackstick_speed; + fvalues[3] = 0; prop_speed = InitFloatAtom(pInfo->dev, SYNAPTICS_PROP_SPEED, 4, fvalues); values[0] = para->edge_motion_min_z; @@ -443,8 +443,6 @@ SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop, para->finger_low = finger[0]; para->finger_high = finger[1]; - para->finger_press = finger[2]; - } else if (property == prop_tap_time) { if (prop->size != 1 || prop->format != 32 || prop->type != XA_INTEGER) @@ -566,7 +564,6 @@ SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop, para->min_speed = speed[0]; para->max_speed = speed[1]; para->accl = speed[2]; - para->trackstick_speed = speed[3]; } else if (property == prop_edgemotion_pressure) { -- cgit v1.2.3