Skip to content

Commit

Permalink
D-pad follow up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisd1100 committed May 23, 2023
1 parent f9a7c36 commit e030e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hid/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void mty_hid_map_axes(MTY_ControllerEvent *c)
}

// Convert Hat to D-pad
if (dpad < c->numAxes);
if (dpad < c->numAxes)
hid_convert_dpad(c, dpad);

// Move axes that are not in the right positions to the end
Expand Down

0 comments on commit e030e0c

Please sign in to comment.