Subject: Re: Using a wheel mouse with X
To: None <>
From: David Maxwell <>
List: current-users
Date: 12/24/1999 12:28:38
On Fri, Dec 24, 1999 at 02:50:41PM +0100, Hubert Feyrer wrote:
> On Fri, 24 Dec 1999, Brett Lymn wrote:
> >         I lashed out and updated my mouse technology to the late 20th
> > century.  My machine now sports a very nice logitech cordless wheel
> Use the wsmouse protocol. I have the same wireless logitech wheel mouse,
> let me know if you got the wheel working. 

Same mouse. Works fine, here are my relevant configs.

pmsi0 at pckbc0 (aux slot)
wsmouse0 at pmsi0

Section "Pointer"
    Protocol    "wsmouse"
    Device      "/dev/wsmouse0"
    ZAxisMapping 4 5

crw-------  1 root  wheel  49, 0 Sep 21 23:39 /dev/wsmouse0

That's enough to make xterms scroll. For other apps, you may need a
.Xdefaults entry - like this one for netscape. 

Netscape*drawingArea.translations:  #replace    \
        <Btn1Down>:           ArmLink()   \n\
        <Btn2Down>:           ArmLink()   \n\
        ~Shift<Btn1Up>:       ActivateLink()  \n\
        ~Shift<Btn2Up>:       ActivateLink(new-window)  \
                                        DisarmLink()    \n\
        Shift<Btn1Up>:        ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        Shift<Btn2Up>:        ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        <Btn1Motion>:             DisarmLinkIfMoved()  \n\
        <Btn2Motion>:             DisarmLinkIfMoved()  \n\
        <Btn3Motion>:             DisarmLinkIfMoved()  \n\
        <Motion>:             DescribeLink()  \n\
        <Btn3Down>:           xfeDoPopup()    \n\
        <Btn3Up>:             ActivatePopup() \n\
        Ctrl<Btn4Down>: PageUp()\n\
        Ctrl<Btn5Down>: PageDown()\n\
        Shift<Btn4Down>: LineUp()\n\
        Shift<Btn5Down>: LineDown()\n\
         None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
        Alt<Btn4Down>: xfeDoCommand(forward)\n\
        Alt<Btn5Down>: xfeDoCommand(back)\n

Netscape*globalNonTextTranslations: #override\n\
 Shift<Btn4Down>: LineUp()\n\
 Shift<Btn5Down>: LineDown()\n\
 Alt<Btn4Down>: xfeDoCommand(forward)\n\
 Alt<Btn5Down>: xfeDoCommand(back)\n

David Maxwell,| -->
All this stuff in twice the space would only look half as bad!
					      - me