Skip to content

Instantly share code, notes, and snippets.

@palmerj
Last active February 3, 2025 19:59
Show Gist options
  • Save palmerj/586375bcc5bc83ccdaf00c6f5f863e86 to your computer and use it in GitHub Desktop.
Save palmerj/586375bcc5bc83ccdaf00c6f5f863e86 to your computer and use it in GitHub Desktop.
Xbox Controller Button Names and Layout

Buttons

  • RSB == Right Stick Button
  • LSB == Left Stick Button
  • RB == Right Bumper
  • RT == Right Trigger
  • LB == Left Bumper
  • LT == Left Trigger
  • Y == Y Button (Top)
  • A == A Button (Bottom)
  • X == X Button (Left)
  • B == B Button (Right)

xbox-button-layout

@Pro5345
Copy link

Pro5345 commented Nov 28, 2024

i thought view was activate?

@Liggliluff
Copy link

I see in this that it says LSB and RSB, I thought it was just LS and RS

@DJStompZone
Copy link

I see in this that it says LSB and RSB, I thought it was just LS and RS

LS (Left Stick) / RS (Right Stick) refer to the joystick's analog movement along the X (left-right) and Y (up-down) axes. These provide continuous input values rather than just on/off states.

LSB (Left Stick Button) / RSB (Right Stick Button) refer to pressing down on the stick like a button, which is a binary (on/off) input.

TL;DR:

  • LS/RS = Analog stick movement (X/Y axes).
  • LSB/RSB = Stick "click" (on/off).

@Liggliluff
Copy link

@DJStompZone I see, it's just that the rest of the names align with the standard and these are off. Since the click function is LS/RS. For the position I don't know if there's any official terms. LX/LY/RX/RY is what I could imagine. But I figure that isn't the scope of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment