Skip to content

Commit

Permalink
fix (#15874)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronoAndross authored Nov 5, 2023
1 parent 3186b1d commit c9de6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/connect/connect_wiiugca.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int16_t hidpad_wiiugca_get_axis(void *pad_data, unsigned axis)
if (!pad || axis_data.axis >= 4)
return 0;
if (pad->datatype == GCA_TYPE_PAD)
return gamepad_get_axis_value(pad->analog, &axis_data);
return gamepad_get_axis_value_raw(pad->analog, &axis_data, false);
return gamepad_get_axis_value(device->pad_data[0].analog, &axis_data);
}

Expand Down

0 comments on commit c9de6e5

Please sign in to comment.