Skip to main content
Controller Test

Button Mapping Test

Press buttons to see the raw numbers your browser reports and how they line up with the standard gamepad layout. A Nintendo pad has A/B and X/Y the other way round from an Xbox pad — that is a layout, not a fault, and this page says so.

No controller detectedPress any button on your controller.
———

Mapping

Not verified yet

Layout
—
Checked
—
Off the standard layout
—
Pressed now
—

Raw readout

Every button and axis the browser reports, with no interpretation. The standard layout only covers the first sixteen buttons and four axes, and a device may report more or fewer.

What "standard mapping" means, and when you don't have it

There is an agreed layout that browsers try to present controllers in: sixteen buttons and four axes in a fixed order, so that a game written once works with any pad. When a browser recognises your controller it rearranges whatever the hardware actually sends into that order, and the panel above says standard mapping.

When it does not recognise the controller, you get the raw order the device chose for itself, and the page says non-standard. This is not a fault and usually not even a problem — it only means nobody has told the browser what this particular device's button seven is for. It does mean the labels cannot be trusted, which is exactly why the raw numbers are shown alongside them here.

What happens when the mapping is unknown

Most testers do one of two things with an unrecognised controller, and both are bad. Some display it against the standard layout anyway, so you are told button four is Y when it may be anything. Others give up and show numbers with no interpretation at all.

This page does something else: it looks the device up by its vendor and product number in a community-maintained database of controller layouts covering over a thousand devices, and if there is an entry it uses the real layout for your hardware. The database is only downloaded when a non-standard device actually turns up, so recognised controllers never pay for it.

If there is no entry, the page says so in those words — not in the device database — rather than pretending the standard layout applies. A wrong label is worse than an honest absence, because a wrong label sends you looking for a hardware fault that is really a naming problem.

The standard button numbers

When a controller is mapped to the standard layout, these are the numbers. Keep this open next to a game asking you to bind "button 9" and you will know which one to press. The letters differ by manufacturer, so the position is given alongside.

No.PositionXboxPlayStation
0Face, bottomACross
1Face, rightBCircle
2Face, leftXSquare
3Face, topYTriangle
4Left shoulderLBL1
5Right shoulderRBR1
6Left triggerLTL2
7Right triggerRTR2
8Left of centreViewCreate
9Right of centreMenuOptions
10Left stick pressLSL3
11Right stick pressRSR3
12D-pad up——
13D-pad down——
14D-pad left——
15D-pad right——
16Centre logoGuidePS

The four axes are numbered separately: left stick horizontal and vertical are zero and one, right stick horizontal and vertical are two and three. Negative is left or up in each case, which catches people out because screen coordinates usually run the other way.

Why pressing A can light up B

The standard layout numbers the four face buttons by position, not by letter: bottom, right, left, top. Microsoft prints A on the bottom one. Nintendo prints A on the right one. Both are internally consistent and they disagree with each other, so a Nintendo pad pressed on the button marked A reports the position that most software calls B.

Nothing is broken and nothing is mapped wrongly. If it bothers you in a game, most launchers and several games have a setting to swap the pair back. TheSwitch Pro Controller test labels the buttons the way they are printed on Nintendo hardware, if you would rather see them that way.

Why a d-pad is sometimes buttons and sometimes an axis

A directional pad is four switches, but a long-standing convention lets a device report it as a single value instead, where each possible direction including the diagonals gets its own number and a resting pad reports something outside that range. Devices are free to choose, and plenty of arcade sticks and older pads choose the second.

So if pressing up changes a number in the axes list rather than lighting a button, you have found a reporting convention, not a wiring fault. The giveaway is that one value steps through a sequence as you walk around the eight directions rather than two values moving smoothly.

Triggers have the same split. Some controllers report each as a pressure value between zero and one, some as a plain on-or-off button, and a few report both at once so that old software and new software are each satisfied. A trigger appearing twice in the readout is the third case and is normal.

Why buttons get mapped wrongly in the first place

The usual reason is that the controller is pretending to be something it is not. A great many third-party pads announce themselves using the identifiers of a popular first-party controller, because doing so makes them work immediately with software that only knows that one. If the imitation is imperfect — an extra button, a different order — everything downstream believes the claimed identity and lays the buttons out accordingly.

The second reason is a layer you installed. Remapping tools and launcher-level input systems rewrite what reaches the page, and from here their work is indistinguishable from the hardware's own behaviour. If something looks wrong, close those first and retest. The third is adapters and converters, which frequently present a controller under their own identity rather than the one plugged into them.

What this page will not do

It cannot remap anything. Nothing here changes your controller or your system, and no setting you make on this page would survive leaving it. What it gives you is the evidence to take somewhere that can remap: the raw numbers, which button each one corresponds to on your hardware, and whether the browser recognised the device at all.

Questions

What should I do about a non-standard mapping?
Often nothing. Games that use the same database this page does will lay your pad out correctly regardless. If a specific game gets it wrong, remap inside that game or in your launcher — the numbers shown above tell you which physical button to press when it asks.
What are the buttons numbered seventeen and up?
Anything the standard layout has no room for: paddles on the back of a premium pad, the extra side buttons on a detached Joy-Con, media keys, or a second set of shoulder buttons. They are shown because they exist, even though no standard name applies to them.
One press registers twice. Is my controller failing?
Usually no. Check for a remapping layer before suspecting the switch. Two input systems translating the same controller at once produce exactly this, and it is far more common than a genuinely bouncing contact. If nothing is running and a single press still reports twice, then the switch is a real suspect.
Can I see what a game will receive?
Approximately. A browser and a game read the controller through similar routes on most systems, so the raw numbers here are a good guide. A game using a different input route, or sitting behind a translation layer, can see something different — which is itself useful to know when a pad works here and not there.
What is the difference between the two Windows input systems?
The older one is a general scheme for any input device, which is why a controller on it can have any number of buttons in any order. The newer one was written around a specific controller layout, so everything using it agrees on what each button means but anything unusual has nowhere to go. Xbox pads arrive on the newer one, PlayStation pads on the older, and that single fact explains most "my controller works everywhere except this game" reports.
How do paddles and macro buttons appear?
Usually not at all, because most controllers resolve them into ordinary button presses internally before anything leaves the device. A paddle assigned to the bottom face button reports as that button. Where a controller does expose them separately they turn up as extra entries past the end of the standard set.
Why do some buttons report a value instead of on or off?
Because they are pressure-sensitive, and the standard allows any button to report how far it is pressed. This is normal on triggers and occasionally appears on face buttons of older hardware. It is also why nothing here compares a button against exactly one — a press is judged against a threshold instead.
The page says my controller is not in the device database. Now what?
Use the raw numbers. They are correct regardless of whether we can name the buttons, so you can still confirm every input works and find which physical button corresponds to which number when a game asks you to bind one. The missing entry affects the labels, not the measurements.
Is anything uploaded?
No. Button states are read and discarded in your browser.