LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mouse annoyance (https://www.linuxquestions.org/questions/linux-general-1/mouse-annoyance-11861/)

Jedi_Cheese 01-15-2002 09:54 PM

Mouse annoyance
 
I currently have mandrake 8.1. I installed it with a basic 2 button mouse. I really have a Microsoft Intelimouse that has 5 buttons and a scrollwheel. I am wondering if I can get the buttons to function (drivers from another 5 button mouse that is supported). I at least need to change the drivers so that I can use the mousewheel.

PS: Install went flawlessly and I am likeing it so far.

Aussie 01-16-2002 03:22 AM

You have to edit the pointer section in your xfree config file, for a PS/2 mouse you need to change it to this,
Code:

    Identifier "Mouse1"  #use what you have there already.
    Driver "mouse"
    Option "Protocol"    "IMPS/2" #use this
    Option "Device"      "/dev/psaux" #use what you have already
    Option "Buttons"      "5"  #add this line
    Option "ZAxisMapping" "4 5"  $add this line

Save and restart X for mouse wheel goodness :)

alim 01-16-2002 04:31 AM

I had a PS/2 mouse until a couple days ago too, and then bought an Intellimouse Explorer. And didn't know why it wasn't working.

If you want all the buttons to work, and if you want the mouse to connect with USB (which I guess you'd want) then, while the above info is good for PS/2, USB requires this in /etc/XF86Config:

Section "InputDevice"
Identifier "Mouse0" # Don't change this
Driver "mouse"
Option "Protocol" "ExplorerPS/2" # Specifies Explorer
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
EndSection

Then if you want the wheel to work (the side buttons will be the wheel by default), add this to your .xinitrc file:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

And you should be away.
I had another problem though. My mouse had moved from /dev/psaux to /dev/input/mouse1 so I had to change the link at /dev/mouse accordingly.

degroene 04-07-2002 06:22 PM

Hey there
I thank you for helping me
this is the one and only place where I could find how to fix this..
Long live google and long live you all

bye


All times are GMT -5. The time now is 11:32 PM.