Ler6557,
All you have to do is choose either USB or PS2 and connect it to your computer. It will automatically be detected by your OS.
As for it working in Mame you need to select the "enable mouse support" under the default options and away you go...
Enjoy!