I'm doing the same sorting, and I found Maws not to be entirely accurate, it lists the Pacman games as Vertical, 4way Joystick, ONE BUTTON. Well pacman is a No button game.
Yeah, I think MAWS just uses MAME's xml and catver.ini to give you categories too.
ROMLister uses a combination of MAME+controls.dat+catver.ini.
Controls.dat overrides the joystick/button info that MAME has and thus:
<game name="pacman" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>Pac-Man (Midway)</description>
<year>1980</year>
<manufacturer>[Namco] (Midway license)</manufacturer>
<category>Maze</category>
<controls info>numPlayers="2" alternating="1" mirrored="1" usesService="0" tilt="0" cocktail="1"</controls info>
<player number="1" numButtons="0">
<controls>
<control name="4-way Joystick">
<constant name="joy4way"/>
</control>
</controls>
ok, that's kinda hard to see, but with controls.dat info injected into MAME's xml file, those all get fixed. 0 buttons, 4way joystick. Even all the 2way joystick issues being 8way inside of MAME's data that paigeoliver was angry about has been fixed.
I'm not dumb enough to say that ROMLister and its input files are perfect, but it really will save you a ton of time from doing this type of work by hand.
just sayin....
-jeff!