I found a really great little program that'll let you easily hook up more buttons to your serial port, and have the buttons do interesting things like launch a program or turn Windows volume down or whatever. They can also trigger ASCII strokes, even compound ASCII strokes like control-A. It's really powerful and easy to make.
It's actually a winamp plugin, but has some features that go way beyond winamp. Link:
http://diba.by.ru/comctrl/index.htmlThe idea is you can build a bunch of buttons that interface thru your serial port and interact with this plugin, which control Winamp really really well and thoroughly, but it can also do things like execute a program. So that program could be a batch file that does things like launch your mame front-end or launch a specific game or whatever.
Note that there's two versions of the button box: a 4-button one and one with up to 15 buttons. The reason is interesting: as I understand it, the 9-pin serial port has 4 wires plus a common that handle input, and shorting that common to any of the 4 wires triggers that switch. Hence 4 buttons are really easy to make. If you want to make more than 4 buttons you need to use diodes (the plans are on the site and are very clear). I made the 15-button version, actually I made 9 buttons of the 15 button version.
The program works flawlessly for me, but note that in Windows 2000 and probably XP, you need to shutdown the program before you can shutdown Windows. It's a known bug, I've been emailing the programmer about it.
Note also that an old Atari joystick is 5 buttons (joystick 4 way plus a fire button) and would make a really great external button box to do extra things to Mame....
Anyway, hope someone finds this useful.