Re: [PATCH 2/2] input: mousedev: Emulate right and middle buttonsfor single-button touchpads

From: Dmitry Torokhov
Date: Wed Sep 10 2008 - 08:52:44 EST

Hi Henrik,

On Fri, Sep 05, 2008 at 03:19:56AM +0200, Henrik Rydberg wrote:
> On most linux-based systems, the right and middle buttons are used
> extensively. On computers lacking either of those buttons, such as
> the Apple Macbooks, emulation is needed. This patch adds emulation
> of the missing buttons via two-fingers-and-click and three-fingers-
> and-click operations, which has recently become standard, both in
> MacOS and in the Xorg synaptics driver.

The standard way of emulating right and middle button presses for
"button-deficient" devices is to use Macintosh emulation
(MAC_EMUMOUSEBTN) that works not only for touchpads but for regular mice
as well.

Overall I don't think we should enhance mousedev for scenarios where
proper solution is to install Synaptics X driver. This also goes for
your other patch improving tapping in mousedev.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at