Section "Pointer"
Protocol "IMPS/2"
Device "/dev/psaux"
BaudRate 1200
Resolution 100
ZAxisMapping 4 5
Buttons 3
EndSection
W pliku .Xclients należy dopisać na końcu pliku :
imwheel -k
Po restarcie powinno działać. Opis dotyczy instalacji w Red Hat 6.1. Jeżeli coś nie będzie działało polecam dokumentację pakietu imwheel oraz poniższy artykuł
The Genius NetMouse Pro
Is a functional and nice looking beige mouse with green buttons. Mine
comes with the PS/2 connector. It is a 5-button mouse, where Button 4 and
5 can be used as scroll up and down buttons when used in X such as KDE
or Netscape. When used in KDE's KFM, you can use the up and down button
to scroll. I find it quite appealing and once you get used to it, you may
never want to touch those arrow keys again. I started out trying to get
the NetMouse Pro to work in X. Although you can select "NetMouse Pro" from
RedHat 5.2's mouseconfig application, it never seems to work for me. Whenever
I do that, the NetMouse Pro goes crazy when running in X. I ended up setting
the NetMouse Pro to use plain "Generic PS/2" mouse with 3 button emulation.
Now, that's not what I wanted, but at that time, it seemed to be the only
way to get the Genius NetMouse Pro to work. I posted in RedHat's Mailinglist
to see if I can get any help, maybe with luck, somebody will reply with
a configuration that will use all the buttons that comes with NetMouse
Pro. I was beginning to really miss the Button 2 copy-and-paste feature
I love so much in KDE. Someone finally answered my query, telling me to
use the Generic PS/2 setting..and that's exactly what I don't want. I finally
ended up browsing through FreshMeat and found the excellent IMWheel. By
following the instructions that came with IMWheel's README, I finally got
my NetMouse Pro to use all of its 5 buttons. See below for the configuration
in XF86Config.
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/psaux"
BaudRate 1200
Resolution 100
ZAxisMapping 4 5
Buttons 3
EndSection
I configured buttons 4 and 5 as my Up and Down scroll buttons by using "ZAxisMapping 4 5". The side button of NetMouse Pro was configured as Button 2 (so I can perform the copy-and-paste operation in KDE) by setting "Buttons 3", which is like emulating a 3 button mouse. In order to get IMWheel running and NetMouse Pro working correctly in X, I edited the .Xclients file (which was setup for me when I installed KDE) by adding the line, imwheel -k at the end of the file. I am now happily using the NetMouse Pro in KDE and it is working out quite well and very compatible with most applications. Below are some applications I have tried that works; Netscape Communicator WebMaker KDE's KFM and most KDE applications including KOrganizer Kicq, IglooFTP, The GIMP ...and some apps that doesn't work.
Autor : Norbert Popiołek
Data 20.07.2000