Retro808 is correct. So for your mame use your arcade stick from rec room masters. Just open a mame anyone. And then hit tap on your keyboard. Then in ther you can edit your keys with your joystick. First though make a backup of your settings. Just in case you mess something up. As for your Xbox controer. Go to launchbox folder, emulators, open reDream and go to controller settings in there and map your Xbox controller. Same goes for other emulators you want to Map your Xbox controller with. Hope this helps a bit.