Results 1 to 8 of 8

Thread: 3 Button Mouse Emulation

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Beans
    4

    3 Button Mouse Emulation

    Hello Folks!

    I have a -hopefully- pretty simple question. Is there anyway to change the action performed when I press both mouse buttons at the same time. It usually emulates mousebutton 3 pressed, but I want it to emulate let's say mouse button 7 pressed.

    Thanks!

    P.S. Using 8.10 with all updates right now + Gnome

  2. #2
    Join Date
    Oct 2008
    Beans
    4

    Re: 3 Button Mouse Emulation

    Anything?

  3. #3
    Join Date
    Mar 2008
    Beans
    6

    Re: 3 Button Mouse Emulation

    Apparently the configuration of input devices is now accomplished through "xinput". This might help you.

    Example: Disabling middle-mouse button paste on a scrollwheel mouse


    I can view the current button mapping thusly:

    $ xinput get-button-map "Logitech USB-PS/2 Optical Mouse"

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 10

    Really, only the first three numbers have meaning for me. They represent the left, middle, and right mouse buttons.

    I can turn the middle mouse button off by setting it to 0:

    $ xinput get-button-map "Logitech USB-PS/2 Optical Mouse" 1 0 3

    Or I can turn the middle-mouse button into a left-mouse button by setting it to 1:

    $ xinput get-button-map "Logitech USB-PS/2 Optical Mouse" 1 1 3

  4. #4
    Join Date
    Nov 2008
    Beans
    7

    Re: 3 Button Mouse Emulation

    Has anyone found an easy solution for this?

  5. #5
    Join Date
    Jun 2007
    Location
    French living in UK
    Beans
    34
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: 3 Button Mouse Emulation

    I've got the same issue for Blender now that I switched to 11.04 Before Blender was able to emulate the middle button when I clicked left and right together, but now... does not work anymore.
    So I gave up and installed http://live.gnome.org/GPointingDeviceSettings
    You can find it in the Ubuntu Software Center.
    Easy

  6. #6
    Join Date
    May 2007
    Beans
    12

    Re: 3 Button Mouse Emulation

    Same problem. I verified that Emulate3Buttons is set to yes in my xorg.conf, so not sure what's the problem.

  7. #7
    Join Date
    Jul 2011
    Beans
    2

    Re: 3 Button Mouse Emulation

    enrico@hp:~$ sudo cat /usr/share/X11/xorg.conf.d/10-evdev.conf

    Section "InputClass"
    Identifier "evdev pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Option "Emulate3Buttons" "True"
    Option "Emulate3Timeout" "100"
    Driver "evdev"
    EndSection

    i added Option "Emulate3Buttons" "True" and the following Option in file and now 3buttons emulation works.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •