Subject: Re: wsmouse/wsmux, trackballs, X11
To: Richard Rauch <>
From: Urban Boquist <>
List: tech-x11
Date: 11/03/2002 11:06:53
Richard> Wheel events, and the outermost 2 buttons generate
Richard> nothing.  Any ideas on how I might get X to use this?

For the wheel you can use something like this:

        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"

which will make it generate button4/5 events. It used to also be the
case that you needed to "teach" all applications what to do for those
events. See example below for xterm. At least this was the case a
couple of years ago when wheel mice started to show up. But maybe the
mapping to button4/5 events have become so "standard" nowadays that
applications do the right thing by themselves, I haven't checked.

Google around a bit and you'll easily find what to do for other
applications if you need it.

Kind regards,

        -- Urban

XTerm*VT100*Translations: #override \n\
        <Btn4Down>,<Btn4Up>:            scroll-back(1,halfpage)\n\
        <Btn5Down>,<Btn5Up>:            scroll-forw(1,halfpage)\n\