I have a USB Intellimouse Optical with side buttons and my laptop has a synaptics touchpad. This is what I have in my XF86Config
Section "InputDevice"
Identifier "USB"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
# Option "HorizScrollDelta" "100"
# Option "EdgeMotionSpeed" "10"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
# Option "UpDownScrolling" "off"
# Option "EmulateMidButtonTime" "10"
# Option "TouchPadOff" "off"
# Option "LockedDrags" "on"
# Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
And
InputDevice "USB" "CorePointer"
InputDevice "synaptics" "AlwaysCore"
in the server section (like the above post).
You should either compile the syaptics driver into your kernel or load it as a module.
Then get the package from
http://w1.894.telia.com/~u89404340/touchpad/index.html
and copy the file synaptics_drv.o (no compile needed) to
/usr/X11R6/lib/modules/input
This will get you the scroll features on your touchpad working.
To get the side buttons working on my USB mouse I use imwheel and these settings in whatever file you use to get your x running:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b 0067
and an .imwheelrc file in my home directory with
"Mozilla"
None, Left, Control_L|Page_Down
None, Right, Alt_R|Left
"Konqueror"
None, Left, Alt_L|Right
None, Right, Alt_L|Left
in it to use the right side button for "back" in Mozilla and Konqueror and the left side button for "next tab" in Mozilla.