The location of your configuration file for X depends on the particular
release and distribution you have. It will probably be either /etc/Xconfig,
/etc/XF86Config
or /usr/X11/lib/X11/XF86Config.
You should see which
one it is when you start X - it will be echoed to the screen before all
the options are displayed. The syntax is slightly different between the
XF86Config and Xconfig files, so both are given.
Microsoft Serial Mouse
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
EndSection
#
# Mouse definition and related parameters
#
Microsoft "/dev/mouse"
Microsoft Serial Mouse with Three Button Emulation
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
Emulate3Buttons
EndSection
#
# Mouse definition and related parameters
#
Microsoft "/dev/mouse"
Emulate3Buttons
MouseSystems Three Button Serial Mouse
Section "Pointer"
Protocol "mousesystems"
Device "/dev/mouse"
ClearDTR # These two lines probably won't be needed,
ClearRTS # try without first and then just the DTR
EndSection
#
# Mouse definition and related parameters
#
MouseSystems "/dev/mouse"
ClearDTR # These two lines probably won't be needed,
ClearRTS # try without first and then just the DTR
Microsoft Serial Mouse with gpm -R
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata"
EndSection
#
# Mouse definition and related parameters
#
MouseSystems "/dev/gpmdata"