Skip to content

Commit 8c5fa10

Browse files
committed
Backport of dpad fix frm 2.10.0
1 parent 08317c5 commit 8c5fa10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/code/gamecontroller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ bool GameControllerIsLeftEvent(const SDL_Event& event) {
214214
}
215215

216216
bool GameControllerIsRightEvent(const SDL_Event& event) {
217-
return GameControllerIsControllerDirectionEvent(event, SDL_CONTROLLER_BUTTON_DPAD_LEFT, SDL_CONTROLLER_AXIS_LEFTX);
217+
return GameControllerIsControllerDirectionEvent(event, SDL_CONTROLLER_BUTTON_DPAD_RIGHT, SDL_CONTROLLER_AXIS_LEFTX);
218218
}
219219

220220
bool GameControllerExtIsPlayerUpEvent(int playerNumber, const SDL_Event& event) {

0 commit comments

Comments
 (0)