The dip switch controls are part of MAME. Can’t help you there, but maybe you can ask in the discord server, the community knows how to do it.