Skip to content

Commit

Permalink
Fix right stick showing up as left stick in controller mapping window (
Browse files Browse the repository at this point in the history
  • Loading branch information
Tawling authored Feb 19, 2024
1 parent a516b66 commit d7eabfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ std::string SDLAxisDirectionToAnyMapping::GetPhysicalInputName() {
return StringHelper::Sprintf(UsesGameCubeLayout() ? "Analog Stick %s" : "Left Stick %s",
mAxisDirection == NEGATIVE ? ICON_FA_ARROW_UP : ICON_FA_ARROW_DOWN);
case SDL_CONTROLLER_AXIS_RIGHTX:
return StringHelper::Sprintf(UsesGameCubeLayout() ? "C Stick %s" : "Left Stick %s",
return StringHelper::Sprintf(UsesGameCubeLayout() ? "C Stick %s" : "Right Stick %s",
mAxisDirection == NEGATIVE ? ICON_FA_ARROW_LEFT : ICON_FA_ARROW_RIGHT);
case SDL_CONTROLLER_AXIS_RIGHTY:
return StringHelper::Sprintf(UsesGameCubeLayout() ? "C Stick %s" : "Left Stick %s",
return StringHelper::Sprintf(UsesGameCubeLayout() ? "C Stick %s" : "Right Stick %s",
mAxisDirection == NEGATIVE ? ICON_FA_ARROW_UP : ICON_FA_ARROW_DOWN);
case SDL_CONTROLLER_AXIS_TRIGGERLEFT:
if (UsesPlaystationLayout()) {
Expand Down

0 comments on commit d7eabfb

Please sign in to comment.