Xbox vs PlayStation vs Switch Button Layout
The three big controller families use different names and, in Nintendo's case, a different arrangement for the face buttons. This table shows how they line up.
Button equivalents
| Position | Xbox | PlayStation | Switch Pro | Browser index |
|---|---|---|---|---|
| Bottom face | A | Cross | B | 0 |
| Right face | B | Circle | A | 1 |
| Left face | X | Square | Y | 2 |
| Top face | Y | Triangle | X | 3 |
| Left bumper | LB | L1 | L | 4 |
| Right bumper | RB | R1 | R | 5 |
| Left trigger | LT | L2 | ZL | 6 |
| Right trigger | RT | R2 | ZR | 7 |
| Left center | View | Create / Share | Minus | 8 |
| Right center | Menu | Options | Plus | 9 |
Why the browser uses Xbox positions
The Gamepad API in browsers defines a "standard" mapping that follows the Xbox layout by position. Button 0 is the bottom face button, button 1 is the right face button, and so on. A PlayStation controller therefore reports Cross as button 0, even though its name is not A. Our tester shows these positions on a drawing, so you can see which physical button lights up.
Switch layout differences
On a Nintendo pad the confirm button is on the right, and cancel is at the bottom. Many games swap this when played on PC, so the "A" prompt can point at the right button on a Nintendo pad or at the bottom button on an Xbox pad. If a Switch controller shows "wrong" buttons in a game, it is usually the layout setting and not a fault.
Fixing a mismatch
- Check the game's controller settings for a layout or icon option.
- In Steam, use the controller configuration to swap buttons. See how to remap in Steam.
- Use the tester to check the real position of each button.
- If a button does nothing in the tester, see controller not detected or clean the controller.
Why layouts differ
Each maker named and placed buttons their own way. The shapes on PlayStation and the letters on Xbox and Nintendo do not line up one to one. A game written for one system and ported to another has to decide which button means "confirm". That is why you sometimes see icons that do not match the real button.
Equivalent buttons
The bottom face button is A on Xbox, Cross on PlayStation, and B on Switch. The right face button is B, Circle and A. The left face button is X, Square and Y. The top face button is Y, Triangle and X. The shoulder buttons are LB and RB on Xbox, L1 and R1 on PlayStation, and L and R on Switch. The triggers are LT and RT, L2 and R2, and ZL and ZR. The stick clicks are L3 and R3, or LS and RS. The Back and Start buttons are View and Menu on Xbox, Create and Options on PlayStation, and Minus and Plus on Switch.
Stick and trigger differences
Stick layouts also differ. Xbox pads put the left stick above the D-pad, while PlayStation pads put the D-pad above the left stick, and the sticks sit side by side on the bottom. Triggers are analog on Xbox and PlayStation, but the Switch Pro has digital ZL and ZR buttons. The trigger test shows whether yours report a range of values or only on and off.
Frequently asked questions
Is Cross the same as A? By position, yes. Both are the bottom face button, though the name differs.
Why do prompts not match my buttons? The game shows icons for the controller type it detects. Steam or the game settings can change the icon set.
Do all controllers follow the standard mapping? Most modern ones do, but some report a non-standard layout. The tester shows if yours is standard.
A quick comparison table
| Position | Xbox | PlayStation | Switch |
|---|---|---|---|
| Bottom | A | Cross | B |
| Right | B | Circle | A |
| Left | X | Square | Y |
| Top | Y | Triangle | X |
The table shows why the same position can have a different name on each controller. When you read button numbers in a tester, they follow position, not the label printed on the button.
Other layout differences
The thumbstick positions also differ: Xbox places the left stick above the D-pad, while PlayStation places the D-pad above the left stick. The menu and share buttons have different names and positions. These differences do not change how the controller works, but they change how a game's tutorial matches what you see on your pad. When in doubt, follow the position of the button rather than its name, and check whether the game offers an icon style that matches your controller.