Wheel Mouse HOWTO (FreeBSD 4.0)
1)Install imwheel from the ports section.
> cd /usr/ports/x11/imwheel; make install; make clean
2)Edit XF96Config so that X recognizes the wheel. (XFree86 4.0)
> vi /etc/X11/XF86Config
a) Add the following line under "InputDevice"
Option "ZAxisMapping" "4 5"
3)Disable all 3-Button emulation, both in /etc/rc.conf and
in /etc/X11/XF86Config.
a) From /etc/X11/XF86Config
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
b) From /etc/rc.conf
# moused_flags="-3"
4)Configure imwheel. (This step is optional)
> vi /usr/X11R6/etc/imwheelrc
a) Uncomment:
#None, Down, Down, 7, 1000, 1000
#None, Up, Up, 7, 1000, 1000
b) Comment:
None, Down, Page_Down, 1, 1000, 1000
None, Up, Page_Up, 1, 1000, 1000
This will make scrolling in Netscape more smooth.
5)Start up imwheel. This must be done ever time you start up a new X session.
> imwheel -k
If you are running WindowMaker, you can ignore this step by putting
the following line into ~/GNUstep/Library/WindowMaker/autostart
imwheel -k
And putting the follwing into ~/GNUstep/Library/WindowMaker/exitscript
killall imwheel
Eric Brueggmann 4/16/2000
|