When I was first introduced to programming (back with DOS), I used to add mouse support to my applications to impress my teachers. Programming the mouse largely consisted of putting the right values ...
Unless you've set up gpm as a repeater for the XFree86 server (using the -R option and /dev/gpmdata fifo), the XFree86 server will take over control of the mouse device and use that ...