lkml.org 
[lkml]   [2003]   [Sep]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromPeter Chubb <>
DateMon, 29 Sep 2003 15:28:09 +1000
SubjectLinux-2.6.0-test6: synaptics upside down?
Hi folks,
   On the latest 2.6.0-test6 kernel, the synaptics touchpad on my
Clevo is upside down -- moving my finger up moves the pointer down,
et vice versa.

This patch fixed the problem for me, but is probably not the right
fix.

===== drivers/input/mouse/synaptics.c 1.9 vs edited =====
--- 1.9/drivers/input/mouse/synaptics.c	Fri Sep 26 16:58:04 2003
+++ edited/drivers/input/mouse/synaptics.c	Mon Sep 29 15:18:53 2003
@@ -529,7 +529,11 @@
 	/* Post events */
 	if (hw.z > 0) {
 		input_report_abs(dev, ABS_X, hw.x);
+#if 0
 		input_report_abs(dev, ABS_Y, YMAX_NOMINAL + YMIN_NOMINAL - hw.y);
+#else
+		input_report_abs(dev, ABS_Y, hw.y);
+#endif
 	}
 	input_report_abs(dev, ABS_PRESSURE, hw.z);
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2008