LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mouse under X (https://www.linuxquestions.org/questions/slackware-14/mouse-under-x-19292/)

Shawny 04-24-2002 02:40 AM

mouse under X
 
I've just recently configured X but can't get my mouse to work properly. Its a MS 3-button serial mouse, configured under protocol 2. It works fine in text mode.
Anyone else had this problem? Do you have any ideas as to solving it?

Richard James 04-24-2002 06:18 AM

I don't have a 3 button mouse so i can't check this. You don't have a mouse wheel do you as that is setup differently?
Anyway in your /etc/X11/XF86Config file it should look like this

Section "InputDevice"
# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "3"
#Option "Emulate3Buttons"
EndSection

Make sure that Buttons is set to 3 and Emulate3Buttons is disabled by the #.

If you have a scrollmouse, in the AOLS FAQ it says to have this:

# My budget Office One (one scroll-wheel),
# three buttons (ones the wheel)

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
#Option "Buttons" "3"
#Option "Emulate3Buttons"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

The five buttons are used to map the 3 extra features of your mouse to X windows functions. Your mouse has click on the scroll button, scroll up and scroll down. The ZAxisMapping makes scroll up and down map to a kind of virtual mouse that can move forwards, back, left, right and up and down. This up and down is used by programs to scroll in a window.

Shawny 04-26-2002 10:37 AM

thanks!
 
Actually I fixed the problem quite easily. Turns out that the mouse I have was on the list of options in the xf86config program and although I had tried 3 or 4 of the options, I hadn't got round to trying the correct one out. Feel a bit foolish now. Thanks for your reply, though Richard :o)


All times are GMT -5. The time now is 03:48 AM.