[LUNI] extra mouse buttons

GMC-jimmy gmc.jimmy at home.com
Wed Nov 28 18:04:00 CST 2001


Depending on what your using your mouse for, will determain the correct 
action to take to enable extra features for your mouse.

Are you just using it on the command line ? ... With a window manager ?

In my /etc/X11/XF86config-4 file I have a Section for my 3 button Microsoft 
IntelliMouse w/Wheel, which happens to also work for my 5 button Logitech 
Wheel mouse:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection

The important part of that is the "ZAxisMapping" which enables buttons 4 and 
5.

This usually allows me to use my extra buttons/wheel with Gnome, and KDE2.
I haven't tried other window managers, but I would think any that support X11 
input protocols should also work.

As far as the command line goes, I've only used what equates to the middle 
button, for pasting copied content. And this works in both a standard command 
line, and with an xterm or similar.


Sten wrote:
> I've got a mouse with an extra button under the thumb, and I can't find
> anything on how to make the button do useful things. Ideally, I'd like
> it to send windowmaker an "alt-tab". Anyone got any hints?
> -Sten

-- 
___________________________
Free your mind - Flush your toilet



More information about the luni mailing list