Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Jan 26, 2025
1 parent 3fe6001 commit eaa1647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/love/joystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int joystick::getButtonKey(const std::string& name) {
if (name == "left" || name == "dpleft") {
return PNTR_APP_GAMEPAD_BUTTON_LEFT;
}
if (name == "right" || name == "dpriht") {
if (name == "right" || name == "dpright") {
return PNTR_APP_GAMEPAD_BUTTON_RIGHT;
}
return -1;
Expand Down

0 comments on commit eaa1647

Please sign in to comment.