summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eventcomm.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index 620f2f3..c917c80 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -205,24 +205,6 @@ EventQueryHardware(LocalDevicePtr local, struct SynapticsHwInfo *synhw)
xf86Msg(X_PROBED, "%s touchpad found\n", local->name);
- /* awful */
- if (strstr(local->name, "ALPS")) {
- SynapticsSHM *pars = ((SynapticsPrivate *)local->private)->synpara;
- void *opts = local->options;
-
- pars->left_edge = xf86SetIntOption(opts, "LeftEdge", 120);
- pars->right_edge = xf86SetIntOption(opts, "RightEdge", 830);
- pars->top_edge = xf86SetIntOption(opts, "TopEdge", 120);
- pars->bottom_edge = xf86SetIntOption(opts, "BottomEdge", 650);
- pars->finger_low = xf86SetIntOption(opts, "FingerLow", 14);
- pars->finger_high = xf86SetIntOption(opts, "FingerHigh", 15);
- pars->tap_move = xf86SetIntOption(opts, "MaxTapMove", 110);
- pars->scroll_dist_vert = xf86SetIntOption(opts, "VertScrollDelta", 20);
- pars->scroll_dist_horiz = xf86SetIntOption(opts, "HorizScrollDelta", 20);
- pars->min_speed = xf86SetRealOption(opts, "MinSpeed", 0.3);
- pars->max_speed = xf86SetRealOption(opts, "MaxSpeed", 0.75);
- }
-
return TRUE;
}