Just 2 things:
- you could go in MAME "default settings" so that mouse is unchecked for every game by default.
- in mame tab menu, you should configure controls in input(general) -> player 1 controls (doing it for input(this game) means you'd have to bind controls for every single game).