Skip to content

Commit

Permalink
fix typos (macos)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 12, 2025
1 parent 735cf64 commit 12c211f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -9601,7 +9601,7 @@ RGFW_event* RGFW_window_checkEvent(RGFW_window* win) {
if (button == 404)
continue;

if (RGFW_gamepadPressed[i][button] != gamepadState.digitalButton[j]) {
if (RGFW_gamepadPressed[i][button].current != gamepadState.digitalButton[j]) {
if (gamepadState.digitalButton[j])
win->event.type = RGFW_gamepadButtonPressed;
else
Expand Down

0 comments on commit 12c211f

Please sign in to comment.