listdevices
Option Category #
# FRONTEND COMMANDS
#
Description This option will generate a list any devices used by systems.

If you add a system name after the -listdevices it will only tell you the information for that system. There is a wildcard option that will let you generate a list containing systems of certain names e.g. -listdevices puck* will generate a list of systems starting with puck. If you want to direct the list to a text file then use this command mame64 -listdevices >listdevices.txt. Again you can use this on a specific system by adding the system name after the -listdevices.
Full Command -listdevices <system|wildcard>
Alt. Command -ld
Reverse Command none
Example mame64 -listdevices spectrum
mame.ini Command none
Command Default none
Argument Format <system|wildcard>