Re: [PATCH 2/2] input: mousedev: Emulate right and middle buttons for single-button touchpads
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2008-09-10 12:52:43
Also in:
lkml
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2008-09-10 12:52:43
Also in:
lkml
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. -- Dmitry