[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#428679: marked as done (option to map taps separately from button)



Your message dated Tue, 18 Jan 2011 11:28:19 +0100
with message-id <20110118102819.GA20078@radis.liafa.jussieu.fr>
and subject line Re: Bug#428679: option to map taps separately from button
has caused the Debian Bug report #428679,
regarding option to map taps separately from button
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
428679: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428679
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

(So I do not need to use Emulate3Buttons which give me the creep)

Unfortunately I could not see a way to configure
xserver-xorg-input-synaptics such that the tap and the left button
report different button numbers.

The hardware allows for that feature (the patch below do that in a 
non-configurable way for both synaptics and ALPS touchpad).

As an aside, I wrote one of the first touchpad drivers in 1998 (inside
jamd and gpm) to allow this particular button setting, so it would be 
a bit distressing it is not possible with current drivers.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.

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) |


--- End Message ---
--- Begin Message ---
On Tue, Jan 18, 2011 at 10:48:47 +0100, Bill Allombert wrote:

> On Tue, Jan 18, 2011 at 03:34:51AM +0100, Cyril Brulebois wrote:
> > Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr> (04/01/2010):
> > > On Thu, Jun 14, 2007 at 08:56:15PM +0900, Mattia Dongili wrote:
> > > > Hi, I forwarded your request upstream, in the meantime I can try
> > > > preparing a full featured patch for it.
> > > 
> > > Any progress on that ?
> > 
> > If you want to make sure to have upstream's attention, I guess you
> > want to file a bug in the upstream bug tracker (component is xorg,
> > product is Input/synaptics):
> >   https://bugs.freedesktop.org/
> > 
> > Feel free to mark this bug as forwarded there, overriding the current
> > “address”.
> 
> Thanks, but I would expect the Debian maintainer to handle that (hint, hint).
> 
I'm pretty sure what you asked for is possible already, TapButton1 lets
you configure which button is reported on a one-finger tap, and xinput
has a set-button-map option if you want to change what left/right map
to.  If not though, you'll have to report it upstream, the Debian
maintainers most likely won't.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: