Re: Wheel Mouse

2000-03-23 Thread Paul Lussier

In a message dated: Thu, 23 Mar 2000 09:31:02 EST
"Andrew W. Gaunt" said:

Has anyone on this list tried  to get
one on of those 'Intellimouse' mice with a middle button/wheel
working with Linux. I know it will do the two button stuff OK, I'd
like for the wheel to do something useful.

I had one, button acted as a middle button if pressed, but nothing if spun.
I personally hated the feel of the mouse, and quickly got rid of it.
-- 
Seeya,
Paul

 Doing something stupid always costs less (up front)
  than doing something intelligent.
  A conclusion is simply the place where you got tired of thinking.
 If you're not having fun, you're not doing it right!



**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**



Re: Wheel Mouse

2000-03-23 Thread Matt Herbert

"Andrew W. Gaunt" wrote:
 
 Has anyone on this list tried  to get
 one on of those 'Intellimouse' mice with a middle button/wheel
 working with Linux. I know it will do the two button stuff OK, I'd
 like for the wheel to do something useful.

Works wonderfully.  In the Pointer section of your XF86Config file
make sure the following is set:

Protocol"MouseManPlusPS/2"

# Tell the XServer how many buttons are on the mouse

Buttons 5

# Tell the Xserver to send wheel events as button 4 and button 5.
# 4 is negative movement, 5 is positive movement.

ZAxisMapping 4 5


Most GTK applications will use the wheel mouse.  I don't think QT
(ie KDE) apps will do it without some hacking.  Netscape needs special
X resources for the wheel to work.  Eterm's and gnome-terminals work
nicely also.

Here is a listing of the X resources you need to set to get netscape
to listen to the wheel.  Just put these in your .Xdefaults file in
your home directory.  You can then merge them into your running
X session with: xrdb -merge ~/.Xdefaults
The file will be read by X automatically when X starts.  These 
and other hacks for other apps can be found out on the web somwhere.
(sorry I can't find the link)  If you use xmms, the wheel functions
as a nice volume control when the pointer is over xmms :)

Netscape*drawingArea.translations:  #replace\
Btn1Down:  ArmLink()   \n\
Btn2Down:  ArmLink()   \n\
~ShiftBtn1Up:  ActivateLink()  \n\
~ShiftBtn2Up:  ActivateLink(new-window)  \
 DisarmLink()\n\
ShiftBtn1Up:   ActivateLink(save-only)  \
 DisarmLink()\n\
ShiftBtn2Up:   ActivateLink(save-only)  \
 DisarmLink()\n\
Btn1Motion:DisarmLinkIfMoved()  \n\
Btn2Motion:DisarmLinkIfMoved()  \n\
Btn3Motion:DisarmLinkIfMoved()  \n\
Motion:DescribeLink()  \n\
Btn3Down:  xfeDoPopup()\n\
Btn3Up:ActivatePopup() \n\
CtrlBtn4Down:  PageUp()\n\
CtrlBtn5Down:  PageDown()\n\
ShiftBtn4Down: LineUp()\n\
ShiftBtn5Down: LineDown()\n\
NoneBtn4Down:  LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
NoneBtn5Down:  
LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
AltBtn4Down:   xfeDoCommand(forward)\n\
AltBtn5Down:   xfeDoCommand(back)\n

Netscape*globalNonTextTranslations: #override\n\
 ShiftBtn4Down: LineUp()\n\
 ShiftBtn5Down: LineDown()\n\
 Btn4Down:  LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 Btn5Down:  LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
 AltBtn4Down:   xfeDoCommand(forward)\n\
 AltBtn5Down:   xfeDoCommand(back)\n

Hope this helps

-Matt

-- 
Matthew W. Herbert   x75764
Spectrum Advanced Applications
http://www.aprisma.com/
mailto:[EMAIL PROTECTED]

**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**



Re: Wheel Mouse

2000-03-23 Thread Andrew W. Gaunt

Thanks everyone for the 'wheel mouse' replies.
the right combination for my machine was:


Section "Pointer"
#Protocol"PS/2"
#Protocol"MouseManPlusPS/2"
Protocol"imps/2"
Device  "/dev/mouse"
Buttons 5
ZAxisMapping 4 5
#   Emulate3Buttons