Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitchesSome links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
For most people playing MAME on a Windows PC, the best starting point is a wired USB arcade stick that Windows recognizes as a standard XInput, DirectInput, or SDL controller. It gives you an arcade-style joystick and buttons without the pairing and battery variables of wireless play. Choose a two-player panel for local multiplayer, an XInput gamepad for broader game compatibility, or a specialized device for trackballs, spinners, racing, and light-gun games.
The “2020” in the original topic is a historical date, not a current buying recommendation. Models, firmware, prices, and MAME menus change; the setup guidance below applies broadly, but check the manual for your controller and the documentation for your MAME release.
Quick buying guide
| What you want to play | Controller to consider | Main trade-off |
|---|---|---|
| One-player fighters, beat ’em ups, shoot ’em ups, and other joystick games | Wired single arcade stick | Authentic controls, but less versatile for analog games |
| Two-player games on one PC | Two-player arcade panel or two separate sticks | Check that MAME can distinguish and assign both players independently |
| Low-cost setup for mixed retro and modern games | XInput gamepad | Convenient and versatile, but thumbsticks do not feel like arcade joysticks |
| DIY cabinet | USB encoder with arcade joystick and buttons | Repairable and configurable, but requires wiring and setup |
| Keyboard-style cabinet controls | Keyboard-emulating controller | Can be simple to map, but behaves differently from a joystick controller |
| Trackball, spinner, driving, or light-gun games | Purpose-built peripheral | A standard arcade stick cannot reproduce these controls properly |
This is a decision framework, not a lab ranking: compatibility depends on the controller’s operating mode, Windows, and the MAME build. MAME documents joystick providers including XInput, DirectInput, SDL game-controller, and SDL joystick input; no single provider is the right choice for every device. See the MAME command-line documentation.
Free tools Windows power users keep installed
One-click scans. No signup required.
What makes an arcade controller a good fit for MAME?
Connection and Windows input mode
Wired USB is the simplest default: it avoids Bluetooth pairing, batteries, and wireless-receiver variables. Wireless Bluetooth and 2.4 GHz controllers can work, but reconnecting a device may change its order or identifier in MAME. If a controller has a PC-mode switch, follow its manual and test the available modes rather than assuming a particular label guarantees compatibility.
#1 Best Overall
- Compatible with Switch/Switch 2, PS4, PS3, Xbox Series S/X, Xbox One, Xbox 360, PC Windows, macOS, Steam Deck, Android.
- Compatible with Sanwa Denshi buttons and joystick that is perfect for customization
- Supports the XINPUT and DINPUT when being used on PC
- Supports the Turbo functions with different speed settings.
- F300 is compatible with PS5 by MAYFLASH Magic-S Ultimate adapter or MagicBoots-S5 Converter.
- XInput: Often convenient on Windows. MAME’s XInput provider supports up to four XInput game controllers.
- DirectInput: Useful for DirectInput devices, including some older or specialized controllers; MAME documents it as an option when more than four XInput controllers are needed.
- WinHybrid: Uses XInput for compatible controllers and falls back to DirectInput for others.
- SDL game controller / SDL joystick: Can be suitable when the device has a useful SDL mapping or when using SDL input directly.
These are MAME input-provider choices, not quality grades. The mode exposed by the controller, MAME build, and Windows behavior all matter. If one provider does not expose the device as expected, try another supported provider.
Four-way or eight-way joystick?
A true four-way restrictor allows only cardinal directions and can make games designed around four directions easier to control. It is a good fit for Pac-Man-style maze games. An eight-way stick also permits diagonals and is generally more versatile for fighting games such as Street Fighter-style titles. A switchable restrictor offers flexibility, but check how it changes on the specific stick.
Analog thumbsticks and arcade joysticks are not interchangeable in feel. MAME can convert analog ranges into digital directions for games that expect a digital joystick, but that may produce unwanted diagonals or imprecise movement. Avoid binding both a D-pad and an analog stick to the same directions unless you intend to use both.
Buttons, players, and maintenance
Six action buttons suit many classic fighting-game layouts; eight add mapping options but do not automatically improve a controller. Button spacing, joystick feel, and a reliable encoder matter more than the largest button count. Dedicated coin, start, menu, and service buttons can make a cabinet-style setup easier to use.
For two-player play, confirm whether the panel appears to Windows as one device or two and whether each player can be assigned separately. For a permanent cabinet, replaceable buttons and joystick parts can simplify repairs. Compatibility with a named component standard is model-specific, so verify it before buying replacement parts.
Rank #2
- Beautiful LED Arace Game DIY Parts for MAME JAMMA Project!
- 100% Zero Delay USB Encoders and Perfect work for all windows systems!
- Perfect Parts for 2 Player Arcade MAME DIY Project!
- Made with highest quality materials!Heat resistant plastic!
- Perfect LED Kit for Arcade PC Game DIY Project! Easy Install!
Product examples and category choices
Rather than treating a dated buying list as current, choose by device type and verify Windows compatibility for the exact model and revision. The examples below are options to investigate, not claims of hands-on MAME testing.
Single-player arcade stick: 8BitDo Arcade Stick
The manufacturer lists the 8BitDo Arcade Stick for Switch and PC, with Windows 10 version 1903 or later support and wired USB-C, Bluetooth, and 2.4 GHz connection options. It also lists remapping, profiles, a joystick-switch function, turbo, and macro buttons. For a fixed MAME setup, wired USB is the straightforward place to start; extra wireless and macro features are not necessary for accurate arcade emulation. Check the product page and manual for the current revision and PC-mode instructions.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Customizable stick: Mayflash F500 Elite
The Mayflash F500 Elite manual and its support page provide model-specific documentation and firmware information. It may suit buyers who value customization, but confirm its current PC-mode instructions, included parts, availability, and compatibility for the particular revision before purchase.
Two-player panel or DIY cabinet
A two-player panel is more convenient for local multiplayer than sharing one stick, but takes more desk or cabinet space. DIY builders can combine a USB encoder with standard arcade controls; this is flexible and repairable, but you will need to wire it and map its inputs. Generic encoder kits vary in quality and documentation, so do not choose on price alone.
Keyboard-emulating panels
Some arcade panels send keyboard key presses instead of joystick-button events. Xgaming’s MAME support guide describes its X-Arcade device as functioning as a simple keyboard and recommends testing it outside MAME first. That behavior should not be generalized to every arcade panel or revision. Keyboard emulation can be straightforward when its keys match MAME’s defaults, but it can conflict with other keyboard controls, may be subject to key rollover or ghosting, and does not provide analog axes like a game controller.
Rank #3
- Compatible with PlayStation5, PlayStation4, and PC
- Officially licensed Sony peripheral
- Authentic Qanba buttons and lever
- Full control panel, touch pad, Qanba 30-mm B30 buttons, and Qanba OV7 OMRON switch joystick
- 3.5-mm microphone input with mute button control
Connect and configure a controller in MAME
These steps describe MAME’s internal menu workflow. Labels can differ by release or build. Keep a keyboard nearby for initial configuration: MAME’s user-interface documentation says a keyboard is normally required for initial setup, even though a controller or pointing device can operate the UI after the relevant controls are assigned.
- Connect the controller to the PC. For a wireless device, pair it or connect its receiver first. For a wired device, connect directly to the PC while troubleshooting.
- Select the controller’s PC-compatible mode as described by its manual, typically XInput, DirectInput, or a PC mode. Let Windows recognize it.
- Start MAME and launch a game. MAME must have an enabled joystick provider to use game controllers.
- Press Tab to open MAME’s internal menu.
- Choose the input assignments for the current machine. Select the Player 1 control you want to change, activate the assignment, then press the physical button or move the direction you want bound to it. Repeat for the other controls and Player 2 if needed.
- Assign coin and start. Map the appropriate coin and start inputs as well as movement and action buttons. Check that each action is assigned to the intended player.
- Press Esc to back out of the menus, then test movement, every action button, coin, and start in the game. Exit MAME normally when finished so settings can be written.
MAME’s common keyboard defaults are useful for initial navigation, but they are configurable and are not a universal arcade layout:
| Function | Common default |
|---|---|
| Open MAME menu | Tab |
| Player 1 start / Player 2 start | 1 / 2 |
| Coin 1 / Coin 2 | 5 / 6 |
| Back out or quit | Esc |
| Service and operator controls | Often number-row or function keys; varies |
See MAME’s default-key reference for the configurable keyboard defaults. Different machines can have different controls, and available inputs may depend on machine configuration and DIP switches.
Global mappings and game-specific mappings
Use general or global controls for assignments you want shared across many games, such as common Player 1 and Player 2 directions, coin, start, and UI navigation. Use the current machine’s input assignments when a particular game has a different button order, unusual controls, or a conflict with your general setup. A game-specific arrangement is useful when one universal layout would be awkward. MAME’s menu documentation explains the distinction between general controls and current-machine inputs.
For an advanced reusable setup, MAME supports controller configuration files in XML with a .cfg extension, placed in the ctrlr directory. Select a profile with the ctrlr option:
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallRank #4
- 【8BitDo Ultimate Software】Customize button mapping and create macros with any button combination. It even has 2 dedicated macro buttons(P1/P2). Create controller profiles and switch between them at any time.
- 【Dynamic Button Layout】When you switch between Switch and PC (X-Input) mode, Arcade Stick's dynamic button layout instantly changes its visual layout.
- 【3 Ways to Connect】Bluetooth, 2.4g and wired USB-C. The included 2.4g receiver has a special hidden compartment to store it safely.
- 【Compatibility】Compatible with Switch, Windows.
- 【Ultra-moddable】You can swap out 30mm/24mm arcade buttons. Arcade Stick is even designed with a universal joystick mounting plate. It supports virtually every arcade stick ever made such as Sanwa JLF.
mame <game-name> -ctrlr <controller-profile>
Supply the profile name without the .cfg extension. The exact input tokens depend on the MAME version, connected device, and input provider. See the controller configuration documentation.
Keep player assignments stable
If the same physical controller becomes Player 2 after a restart, or another device takes its place, MAME may be seeing a different device order or identifier. This can happen after reconnecting controllers or adding wheels, flight sticks, virtual devices, or similar peripherals.
- Disconnect devices you do not need for setup.
- Connect the intended controller, launch MAME, and assign players deliberately.
- Exit MAME normally and test again after restarting.
- If the order still changes, use a dedicated controller configuration file and MAME’s
mapdevicemechanism to bind the physical device to a consistent MAME identifier. - Reconnect other controllers one at a time and retest.
mapdevice is for a controller configuration file selected with -ctrlr; putting the setting only in an arbitrary system or default configuration file is not sufficient. Follow MAME’s device mapping guide.
Troubleshooting by symptom
MAME does not detect the controller
- Check first whether Windows recognizes the device and whether it is in the correct PC mode.
- Connect it before starting MAME, then check that MAME’s joystick provider is not set to
none. - Try the provider appropriate to the device—XInput, DirectInput, or SDL—and check the MAME build’s available options.
- Disconnect other controllers and virtual devices temporarily. If the controller works in another program but not MAME, the provider choice or MAME configuration is a likely place to investigate.
- Consult the controller maker’s driver or firmware instructions if Windows itself does not recognize it.
MAME’s menus and recognized-device behavior depend on the selected input modules; the menu reference outlines those provider categories.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Buttons work in Windows but not in MAME
Open the game’s menu with Tab, go to the current machine’s input assignments, and bind the missing control again. Confirm that it belongs to the intended player, remove conflicting duplicate bindings if necessary, then exit MAME normally and retest. For a keyboard-emulating panel, first confirm the key it sends with the vendor’s test method before changing MAME mappings.
Best Value
Player 2 controls Player 1
Disconnect other devices, check whether the panel presents one device or two, and assign each player deliberately. If assignments change after restart, use stable device mapping instead of relying on generic labels such as “Joy 1” and “Joy 2.”
Diagonals trigger when you do not want them
For a game designed around four directions, use a four-way restrictor if available. Avoid duplicate directional bindings from both a D-pad and analog stick, and check the game’s actual response. Adjust analog-to-digital sensitivity only where appropriate; the best fix may be a better-matched control rather than a software setting.
Mappings disappear after unplugging the controller
Quit MAME normally to save settings, avoid configuring with several similar devices connected, and consider a dedicated controller profile with stable device mapping. Keep a game-specific arrangement separate from the general layout when only one machine needs it.
Trackball, spinner, wheel, pedals, or light gun do not work
A normal arcade stick is not a replacement for positional aiming or analog movement. Check how Windows exposes the peripheral and whether the relevant MAME mouse, trackball, dial, light-gun, pedal, or analog-device input is enabled and configured. MAME lists these as distinct input categories in its input options. Test the peripheral in a game designed for it.
Legal and practical notes
MAME is an emulator; game ROMs and any required BIOS files are separate. Obtain and use game data lawfully in your jurisdiction. A controller cannot fix missing or incorrect game data, and this guide does not provide ROM or BIOS downloads.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

