Or just go to /etc/X11/XF86Config and edit...
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5" <------------------ add this line
# Mouse-speed setting for PS/2 mouse.
|