Tune MAME analog stick deadzone and saturation on Android
Bind a true analog axis only to the game's Analog input, restore MAME's defaults, and watch the live input value before tuning. Raise deadzone only enough to stop neutral drift, adjust saturation only if full travel cannot reach the endpoint, and use joystick threshold or the automatic joystick map only when an analog stick is driving digital arcade directions. Save the narrowest per-game change.
Do this in order
- 01
Test the controller in Android first, disconnect duplicate input devices, and record the port, upstream MAME revision, connection type, and affected game short name.
- 02
Open the game's Input Settings and assign the physical axis only to the named Analog control, not simultaneously to its Analog Inc or Analog Dec entries.
- 03
Restore the game's analog settings and global joystick options to defaults, then watch the live value at neutral and at both endpoints.
- 04
If neutral drifts, increase deadzone in small steps only until the drift stops; do not use deadzone to repair a missing endpoint.
- 05
If full travel cannot reach the emulated endpoint, adjust saturation cautiously; for analog-to-digital control, test threshold and leave joystick map on auto first.
- 06
Save the result per game or narrow configuration scope, cold-restart the port, and test neutral, full range, diagonals, and menu recovery before applying it elsewhere.
Decision and diagnostic table
| Setting | Problem it addresses | Misuse to avoid |
|---|---|---|
| Deadzone | Small movement around physical neutral | Large values that erase fine control |
| Saturation | Physical travel needed to reach maximum | Treating center drift as an endpoint problem |
| Threshold | When an analog axis becomes a digital direction | Applying it to a true analog game response |
| Joystick map | Mapping X/Y analog regions to 4-way or 8-way digital input | Forcing one map globally when auto or per-game scope works |
Analog and digital assignments are different
MAME exposes a true Analog assignment for proportional controls and separate Analog Inc and Analog Dec inputs for buttons or digital directions. Assigning the same stick to both paths creates competing behavior rather than better calibration.
Use the live input display in the Analog Controls menu. It reveals whether the defect is neutral drift, asymmetric travel, wrong direction, or an accidental second assignment.
Tune the physical range before game sensitivity
Deadzone and saturation describe the physical joystick range presented to MAME. Per-input sensitivity, reversal, increment speed, and auto-centering affect the emulated control after assignment and answer different problems.
Change one value at a time and preserve the default. A very large deadzone may appear to cure drift while making a paddle or steering control jump abruptly away from center.
Four-way games need directional mapping
A four-way arcade stick cannot report diagonals, while an Android thumb stick can. MAME's automatic joystick map selects a standard map from the machine's input definition and uses sticky regions to avoid unwanted diagonal transitions.
Prefer auto first and scope a custom map to the affected game. A global custom map can make an eight-way fighter, analog flight game, and four-way maze game all feel wrong in different ways.
Controller calibration does not change content rights. Test with your own lawful dump or a creator-authorized game, and do not distribute ROM, BIOS, CHD, artwork, or music with controller profiles.