Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Hardware Support _ Cordless Optical Trackman

Posted by: veris2040 Jan 26 2004, 07:35 PM

I have a Cordless Optical Trackman mouse and I want to get the forward and back buttons to work with my system so that I can move quickly through webpages and through my directories. Is it a config file or some kind of button mapping that allows this to happen?

system: Mandrake 9.2
Interface: Kde

Thanx

Posted by: hughesjr Jan 27 2004, 08:30 AM

The file that you would configure is /etc/X11/XF86Config

I can't find any help for this specific device ... however you might be able to get some things working.

The only real problem is knowing what button number is mapped to which button.

http://www.xfree86.org/current/mouse5.html#22 is a reference for XFree86 mouse buttons. You will be looking at the Section "InputDevice" for your mouse...

It can be tricky ... on a scrollmouse, you have button 1 (left click), button 2 (right click), button 3 (wheel click), button 4 (scroll wheel turn up), and button 5 (scroll wheel turn down) ...

It looks like you have all those on this device, plus 3 or 4 more

I would add this to the mouse section:
Option "Buttons" "9"

And if you currently have

Option "ZAxisMapping" "4 5"

put a # in front of that and add another line that says this:

Option "ZAxisMapping" "6 7"

save the file and restart X ... (logout to the display manager and press ctrl-alt-backspace, then log back in)

Now see if you can figure out which buttons are 6 and 7 ... press the extra buttons and find the 2 that cause the screen to scroll up and down .. the one that causes the screen to move down is 7 ... the one that causes the screen to move up is 6 ... change the "6 7" to "8 9" and restart X and try again.

Once you know what all the buttons are, you can redefine what they do with in actual programs (cahnge the "8 9" back to "4 5"...

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)