Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Apr 4, 2024
1 parent 63d7e1c commit f297d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/nCine/Input/JoyMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ namespace nCine

for (int i = 0; i < countof(AndroidAxisNameMapping); i++) {
mapping.desc.axes[i].name = AndroidAxisNameMapping[i];
if (axis.name == AxisName::LTRIGGER || axis.name == AxisName::RTRIGGER) {
if (mapping.desc.axes[i].name == AxisName::LTRIGGER || mapping.desc.axes[i].name == AxisName::RTRIGGER) {
mapping.desc.axes[i].min = 0.0f;
} else {
mapping.desc.axes[i].min = -1.0f;
Expand Down

0 comments on commit f297d17

Please sign in to comment.