On Mon, Oct 10, 2016 at 12:35:42PM +0200, Tobia Conforto wrote:
> I have a mouse with 4 physical buttons (Kensington Slimblade
> Trackball), let's call them A B C D, plus 3 axes: mouse X, Y, and
> scroll wheel. I'm using Xorg 1:7.7+13ubuntu3 on Linux Mint 18, kernel
> 4.4.0-38-generic.
>
> Buttons
Yes, I probably misused a couple of terms.
As you say, the middle button emulation happens in the evdev Xorg
driver, in fact it's controlled by the "Emulate3Buttons" option. The
kernel simply generates the MSC_SCAN and BTN_* codes that I pasted.
So, as far as I can tell, there are two ways to get