We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e64f77 commit 1f74d46Copy full SHA for 1f74d46
src/core/analog_controller.cpp
@@ -67,7 +67,7 @@ std::optional<s32> AnalogController::GetButtonCodeByName(std::string_view button
67
68
void AnalogController::SetAxisState(s32 axis_code, float value)
69
{
70
- if (axis_code < 0 || axis_code >= static_cast<s32>(Button::Count))
+ if (axis_code < 0 || axis_code >= static_cast<s32>(Axis::Count))
71
return;
72
73
// -1..1 -> 0..255
0 commit comments