So a long time ago I requested that buttons could be named for certain games like Mortal Kombat. Shortly after, someone gave them names in MAME itself for MK1, 2 and 3. I don't know how they did it, but I would like to contribute more assignments to other games if possible.