A mouse in Mame? What would you like to do w/ the mouse in Mame? Afaik there is no mouse support in Mame. A computer mouse did not exist yet back in the late seventies/early eighties when Mame’s games were developed.
Anyway, you might try in Mame w/: “TAB (should bring up a menu) –> Input devices”.