Lend273
02-07-2001, 08:29 AM
I configured my mouse as a p/s2 mouse with wheel at install. The mouse works fine except for the whell. I checked my XF86config file and it has the ZAxismapping line in there along with 5 buttons. It also says 3 button emulation. When I removed that line my mouse froze.
Anyone using storm with the wheel working? I'd appreciate some info.
Thanks
Len
Algemon
02-07-2001, 08:41 AM
Here is a link to a useful page: http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/
Here is a portion of my /etc/X11/XF86Config file:
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/misc/psaux"
SampleRate 60
BaudRate 1200
Resolution 100
Buttons 5
ZAxisMapping 4 5
EndSection
Here is a copy of my ~/.Xdefaults file:
!# Scrolling on wheel mouse: half a page normally, line per line with shift
XTerm.vt100.translations: #override\n\
Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\
Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\
Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n\
Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n\
<Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\
<Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\
!# In the scrollbar we map buttons 5 & 4 to 1 & 2 otherwise, core dump
!# This will move proportionally to cursor position but we don't know how to
!# program the same exact behaviour as in the text widget.
Xterm.vt100.Scrollbar.translations: #override\n\
<Btn5Down>: StartScroll(Forward)\n\
<Btn4Down>: StartScroll(Backward)\n\
!## 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\
None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()Lin eUp()LineUp()\n\
None<Btn5Down>:LineDown()LineDown()LineDown()LineD own()LineDown()LineDown()\n\
Alt<Btn4Down>: xfeDoCommand(forward)\n\
Alt<Btn5Down>: xfeDoCommand(back)\n