On Sun, 2004-02-01 at 18:47, Jonathan Charnas wrote: > Hi all > I was replying to some questions for the E-Users list, and I thought I > might just type another email for the list. > I am the happy possessor of a MS Trackball Explorer. Yes, I do like Linux, > but MS still makes good hardware, nothing wrong with that, only windows > really gets on my nerves. > The trackball has two extra buttons in addition to the two+wheel of a > regular mouse. > I was looking around on google, trying to figure out how to configure > those buttons for X, or for E as a matter of fact.
What you want is a three step process: get the buttons recognized in XF86Config and xmodmap, and then have them do stuff in E. In XF86Config, configure a driver. From the description you give, I think the example below matches your mouse model. Just tweak it if you connect through a different device, or if the scroll wheel maps to different buttons (for example changing "ZAxisMapping" to "4 5"): Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" Option "Buttons" "7" EndSection Then add have xmodmap set the following: "pointer = 1 2 3 6 7 4 5". You do this with an xmodmap -e command in xinitrc (before the line that starts E) or put it in your ~/.Xmodmap if you have a bunch of keys to remap. Making the buttons work in E is easy. Just put __BUTTON and then the number in keybindings.cfg, like you would with the first 3. You may also want to check out the imwheel utility (http://jcatki.no-ip.org/imwheel/) to use the scroll wheel in old apps. It allows you to map scroll actions to any key combination on a per-app basis. -- BAM - "I hope I die before I turn into Pete Townshend." -- Kurt Cobain ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ enlightenment-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-users