forwarded 428679 petero2_a_t_telia_com thanks On Wed, Jun 13, 2007 at 03:28:49PM +0200, Bill Allombert wrote: > Package: xserver-xorg-input-synaptics > Version: 0.14.6-1 > Severity: wishlist > > Hello Mattia, > > I have a touchpad with only 2 buttons, and I want the following mapping > Tap -> button 1 > Left button -> button 2 > Right button -> button 3
Hi, I forwarded your request upstream, in the meantime I can try preparing a full featured patch for it. ... > diff -ur xfree86-driver-synaptics-0.14.6/synaptics.c > deb/xfree86-driver-synaptics-0.14.6/synaptics.c > --- xfree86-driver-synaptics-0.14.6/synaptics.c 2007-02-01 > 21:29:20.000000000 +0100 > +++ deb/xfree86-driver-synaptics-0.14.6/synaptics.c 2006-07-15 > 17:54:29.000000000 +0200 > @@ -1679,7 +1679,7 @@ > rep_buttons = ((para->updown_button_repeat ? 0x18 : 0) | > (para->leftright_button_repeat ? 0x60 : 0)); > > - buttons = ((hw->left ? 0x02 : 0) | > + buttons = ((hw->left ? 0x01 : 0) | > (hw->middle ? 0x02 : 0) | > (hw->right ? 0x04 : 0) | > (hw->up ? 0x08 : 0) | Is it me or this patch is reversed? :) Cheers -- mattia :wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]