summaryrefslogtreecommitdiff
path: root/src/properties.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-02-04 23:32:56 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-10 09:42:23 +1000
commit2c7eab5a6d28cf8bbf34fba79601dac4e6e37d7e (patch)
tree35768767b8e117421822097def45d71c512f7216 /src/properties.c
parent83d88b253139f9c92d619e7ad7c3981138893536 (diff)
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 <peter.hutterer@who-t.net> Acked-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/properties.c')
-rw-r--r--src/properties.c7
1 files changed, 2 insertions, 5 deletions
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) {