 + *
 + * On a dualpoint, {mid,rig,lef}0 are the stick, 1 are the pad.
 + * We just 'or' them together for now.
-+ * We also send 'ges'ture as BTN_TOUCH
++ *
++ * We used to send 'ges'tures as BTN_TOUCH but this made it impossible
++ * to disable tap events in the synaptics driver since the driver
++ * was unable to distinguish a gesture tap from an actual button click.
++ * A tap gesture now creates an emulated touch that the synaptics
++ * driver can interpret as a tap event, if MaxTapTime=0 and
++ * MaxTapMove=0 then the driver will ignore taps.
 + *
 + * The touchpad on an 'Acer Aspire' has 4 buttons:
 + *   left,right,up,down.

+	if (z > 30) input_report_key(dev, BTN_TOUCH, 1);
+	if (z < 25) input_report_key(dev, BTN_TOUCH, 0);
+
+	left  |= (packet[2]     ) & 1;
+	left  |= (packet[3]     ) & 1;
+	right |= (packet[3] >> 1) & 1;
+	if (packet[0] == 0xff) {



 linux-petero/drivers/input/mouse/Makefile       |    2 
 linux-petero/drivers/input/mouse/alps.c         |  140 ++++++++++++++++++++++++
 linux-petero/drivers/input/mouse/alps.h         |   17 ++
 linux-petero/drivers/input/mouse/psmouse-base.c |    7 +
 linux-petero/drivers/input/mouse/psmouse.h      |    1 
 5 files changed, 166 insertions(+), 1 deletion(-)

diff -puN drivers/input/mouse/Makefile~alps drivers/input/mouse/Makefile
--- linux/drivers/input/mouse/Makefile~alps	2003-11-30 13:43:39.000000000 +0100
+++ linux-petero/drivers/input/mouse/Makefile	2003-12-16 20:17:12.000000000 +0100
@@ -14,4 +14,4 @@ obj-$(CONFIG_MOUSE_PC9800)	+= 98busmouse
 obj-$(CONFIG_MOUSE_PS2)		+= psmouse.o
 obj-$(CONFIG_MOUSE_SERIAL)	+= sermouse.o
