Skip to content

Commit

Permalink
Fix for D-pad Right overlapping with C-buttons (Extrems, vaguerant, e…
Browse files Browse the repository at this point in the history
…mukidid)

Reference: emukidid@192b7c0
  • Loading branch information
saulfabregwiivc committed Nov 2, 2023
1 parent e25af02 commit f470fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc_input/controller-Classic.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static button_t menu_combos[] = {

static unsigned int getButtons(classic_ctrl_t* controller, float maxLMag, float maxRMag)
{
unsigned int b = (unsigned)controller->btns;
unsigned int b = (unsigned short)controller->btns;
s8 stickX = getStickValue(&controller->ljs, maxLMag, STICK_X, 7);
s8 stickY = getStickValue(&controller->ljs, maxLMag, STICK_Y, 7);
s8 substickX = getStickValue(&controller->rjs, maxRMag, STICK_X, 7);
Expand Down

0 comments on commit f470fb0

Please sign in to comment.