LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Configure a second mouse / trackball wheel (https://www.linuxquestions.org/questions/slackware-14/configure-a-second-mouse-trackball-wheel-125740/)

powadha 12-14-2003 10:47 AM

Configure a second mouse / trackball wheel
 
I'm using a usb Logitech trackball in 9.1 which works fine (accept for the wheel, no clue how to get that working) I'd like to use my regular mouse for gaming aswell. In debian this all went very easy (auto) and even the wheel works on the trackball.
The XF86Config file looks a lot different then the one I'm used to in Debain. Not sure how to edit it to get both mice working and perhaps even the wheel to do it's job. Any clues?

Regards

slackhappy 12-14-2003 11:31 AM

I got my wheel to work by editing /etc/X11/XF86Config and adding this line to the input device mouse pointer section.

Option "ZAxisMapping" "4 5"

Check it out...you never know.

cozye 12-15-2003 12:59 PM

I have both my usb mouse and the built in trackpoint (laptop) working. This took a little digging but basically I have setup 2 input devices in my XF86Config file. The default device is usually pointing to /dev/mouse, which should be a link to /dev/psaux or /dev/input/mice. You will have to figure out where your other input device is actually located and change the directory entry below. You can test this by doing a 'more' on the device file (ie /dev/psaux) and moving the mouse. You should see characters appear.

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "ps2mouse" "CorePointer" ####### this is added for the trackpoint
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "AlwaysCore"
EndSection

Section "InputDevice" ########### this is the trackpoint section
Identifier "ps2mouse"
Driver "mouse"
Option "Device" "/dev/psaux" ### could be /dev/mouse as well, depends on the link
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "on"
EndSection

Section "InputDevice" ###### second mouse device, usb mouse in this case
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" ### usb mouse protocol
Option "ZAxisMapping" "4 5" ### for the wheel
Option "Device" "/dev/input/mice" ### direct do the device.
EndSection


All times are GMT -5. The time now is 02:25 AM.