[PATCH libinput 0/6] Middle mouse button emulation
spitzak at gmail.com
Wed Apr 15 07:32:01 PDT 2015
Is this being done for physical mice with two buttons? The comments seem
to indicate not, which seems kind of pointless: if a client has to
emulate it for a physical mouse it will be emulating it for touchpads as
Delaying a press to see if it is a middle click is also probably
annoying. It should send the down event for the first button, then the
down event for middle when the second button is pressed (ie the client
will see it as a left+middle or right+middle click).
On 04/14/2015 08:51 PM, Peter Hutterer wrote:
> we already had middle mouse button emulation for softbuttons, but not on
> physical buttons. This patchset adds support for physical buttons.
> Couple of general notes:
> * some devices, e.g. 2-button touchpads, have middle button emulation
> enabled, but not exposed as config option
> * if you have a middle button emulation is always off by default.
> * pressing anything but left/right will stop emulation for this sequence, so
> you can't do an emulated middle button + back button or something. I'm not
> aware of any workflow that actually requires this.
More information about the wayland-devel