On Wed, 2002-08-14 at 21:02, Scott Bronson wrote: > So I tried this: > > Section "InputDevice" > Identifier "Configured Mouse" > Driver "mouse" > Option "CorePointer" > Option "Device" "/dev/input/mice" > Option "Protocol" "ImPS/2" > Option "Buttons" "7" > Option "ZAxisMapping" "6 7" > EndSection > > Result: The scroll wheel reports as buttons 6 and 7. Therefore, scrolling > doesn't work. The extra buttons on the mouse still report as buttons 2 and 3. > > > So I gave up. :) I figured it was an X limitation. Maybe not...?
no it isn't. put xmodmap -e "pointer = 1 2 3 6 7 4 5" in your .xinitrc or whatever is appropriate for setting X properties after the X server has started. for gnome the best thing to do is to create a small shell script and configure the startup-properties so that this script is run. this maps the physical mouse buttons to X event mouse buttons (the proper wording is found in the xmodmap man page. the effect is that the physical buttns 1 2 3 are interpreted as buttons 1 2 3 but the physical button 6 is interpreted as the button 4, the physical button 7 is interpreted as the button 5 and so on. and scrolling is working again. -- Michael Lausch See my web page <http://www.lausch.at/> or query PGP key server for PGP key. "Reality is that which, when you stop believing in it, doesn't go away". -- Philip K. Dick ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
