Section "InputDevice" #Mandrake's defaults. # Identifier "Mouse1" # Driver "mouse" # Option "Protocol" "ExplorerPS/2" # Option "Device" "/dev/mouse" #symlink to /dev/input/mice # Option "ZAxisMapping" "6 7" #My settings Identifier "Mouse1" Driver "mouse" Option "Protocol" "PS/2" #Option "Device" "/dev/psaux" Option "Device" "/dev/input/trackpoint" #with udev symlink Option "Emulate3Buttons" "on" #Button 1+3 =>t; emulated middle button Option "Emulate3Timeout" "50" Option "EmulateWheel" "on" #Button 2 =>; emulated scroll wheel. Option "EmulateWheelButton" "2" Option "EmulateWheelTimeout" "0" #If button 2 is pressed for less than this time, then the original button-2 press will pass #through. Otherwise, we get emulated scroll. Set to 0 to disable. [Default timeout: 200] Option "YAxisMapping" "6 7" #EmulatedWheel vertical/horizontal pointer motion causes fake button 4,5 or 6,7 presses. Option "XAxisMapping" "4 5" #Map these fake presses to vertical and horizontal scroll respectively. #Option "ZAxisMapping" "10 11" #Previously necessary to map this out of the way, to prevent the default (6,7) breaking emulated scroll. #Note: there is a stupid bug: /etc/X11/xinit.d/mouse_buttons swaps 4<=>6 and 5<=>7 EndSection