Option Emulate3Buttons not working for my BT mouse
walt
w41ter at gmail.com
Fri Jun 20 14:52:19 PDT 2014
On 06/20/2014 06:48 AM, Łukasz Maśko wrote:
> Hello.
> I've recently bought a BT mouse for my laptop. I've paired it with my
> komputer and it works. More-less. It has only 2 physical buttons and I miss
> the middle button, therefore I wish to use the Emulate3Buttons option. But...
> it does not work. I've created the following config file:
>
> Section "InputClass"
> Identifier "MoGo Mouse BT"
> Driver "evdev"
> Option "Buttons" "2"
> Option "Emulate3Buttons" "on"
> MatchProduct "MoGo"
> MatchIsPointer "On"
> MatchDevicePath "/dev/input/event*"
> EndSection
>
> When I connect the mouse, Xorg responds like this:
>
> [ 66808.538] (II) config/udev: Adding input device MoGo Mouse BT
> (/dev/input/mouse3)
> [ 66808.538] (II) No input driver specified, ignoring this device.
> [ 66808.538] (II) This device may have been added with another device file.
> [ 66808.539] (II) config/udev: Adding input device MoGo Mouse BT
> (/dev/input/event13)
> [ 66808.539] (**) MoGo Mouse BT: Applying InputClass "evdev pointer catchall"
> [ 66808.539] (**) MoGo Mouse BT: Applying InputClass "MoGo Mouse BT"
> [ 66808.539] (II) Using input driver 'evdev' for 'MoGo Mouse BT'
> [ 66808.539] (**) MoGo Mouse BT: always reports core events
> [ 66808.539] (**) evdev: MoGo Mouse BT: Device: "/dev/input/event13"
> [ 66808.539] (--) evdev: MoGo Mouse BT: Vendor 0xa5c Product 0x2004
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found 3 mouse buttons
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found scroll wheel(s)
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found relative axes
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found x and y relative axes
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found absolute axes
> [ 66808.539] (--) evdev: MoGo Mouse BT: Found absolute multitouch axes
> [ 66808.539] (II) evdev: MoGo Mouse BT: Forcing absolute x/y axes to exist.
> [ 66808.539] (II) evdev: MoGo Mouse BT: Configuring as mouse
> [ 66808.540] (II) evdev: MoGo Mouse BT: Adding scrollwheel support
> [ 66808.540] (**) Option "Emulate3Buttons" "on"
> [ 66808.540] (**) evdev: MoGo Mouse BT: YAxisMapping: buttons 4 and 5
> [ 66808.540] (**) evdev: MoGo Mouse BT: EmulateWheelButton: 4,
> EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> [ 66808.540] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.4/1-2.4:1.0/bluetooth/hci0/hci0:46/0005:0A5C:2004.0024/input/input77/event13"
> [ 66808.540] (II) XINPUT: Adding extended input device "MoGo Mouse BT" (type:
> MOUSE, id 15)
> [ 66808.540] (II) evdev: MoGo Mouse BT: initialized for relative axes.
> [ 66808.540] (WW) evdev: MoGo Mouse BT: ignoring absolute axes.
> [ 66808.540] (**) MoGo Mouse BT: (accel) keeping acceleration scheme 1
> [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration profile 0
> [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration factor: 2.000
> [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration threshold: 4
>
> It seems to see the Emulate3Buttons option, but it seems not to obey the
> Buttons option. The mouse has no scroll wheel, it has 2 physical buttons and
> the 3rd one must be emulated. But... it does not work. At the sime time, it
> works for instance for a DualPoint Stick, which I have. If it is important, I
> also often use an external, wired mouse, which has additional 3 buttos and a
> scroll wheel and it works correctly.
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.
Have you tried xev to see what button numbers it reports?
More information about the xorg
mailing list