[LUNI] extra mouse buttons

Boulet Stephen-CSB046 Stephen.Boulet at motorola.com
Thu Nov 29 17:18:06 CST 2001


I think buttons 4 and 5 are used for the wheel, not for buttons > 3 on your specific mouse. You might, if I remember correctly, need to use 6 and 7 for the extra buttons.

Go to the XFree site and read the FAQ there (which I'm too lazy to look up at the moment).

-- Stephen

> 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



More information about the luni mailing list