Both will show up as gamepad controllers but you will have to establish the priority of each controller so that they are recognized the same way by Mame. If you never unplug you can set up in Mame for each controller for its keys but if you do unplug you will have to use a utility to establish their order.