If you're a referring with the word "buttons" to shoot, jump, etc. I can only say that MAME supports no more than 16 "buttons". Probably 8 of them (two rows of 4 on a standard cabinet control panel) per player is the maximum that can be done. I don't know which is the arcade game in MAME which has the highest number of buttons, sorry.