Bug#428679: option to map taps separately from button
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) |
Reply to: