Option Emulate3Buttons not working for my BT mouse

walt w41ter at gmail.com
Sat Jun 21 13:27:21 PDT 2014


On 06/20/2014 11:10 PM, Łukasz Maśko wrote:
> Dnia piątek, 20 czerwca 2014 14:52:19 walt pisze:
> [...] 
>> To clarify:  the mouse has *no* scrollwheel or trackball, and only *2*
>> physical buttons, right?  Seems odd then that the logs talk about buttons 4
>> and 5.
> 
> That's exactly it. Only 2 physical buttons, but evdev recognizes it as 5 
> button mouse with a scroll wheel. I wish it had, but more buttons but no.
> 
>> Have you tried xev to see what button numbers it reports?
> 
> If I got it correctly - xev reports left button as button #1, right button as 
> button #3. Pressing both buttons simultaneously generates just sequence of 
> buttons 1 and 3 pressed one after another.

Okay, that's what I'd expect from a 2-button mouse.  I suggest trying

Option "EmulateWheelButton" "2" in your xorg.conf.

That (I think) should allow you to scroll by holding down both buttons.

Using button 1 might be more natural, but I suspect it would also break
click-and-drag.



More information about the xorg mailing list