Autofire like mame4droid

Request if possible add a function, click a button autofire, then click a button stop fire.like mame4droid autofire.thanks.

somebody probably have done this at least for mame2010

Thank you for your reply. Mame2010 didn’t seem to have the function I wanted. The user doesn’t have to hold down the A button the character can automatically shoot, then click A to stop shooting, and then click A to start shooting。