diff --git a/src/core/gamepad_adapter.cpp b/src/core/gamepad_adapter.cpp index 23a9487..394c7fb 100644 --- a/src/core/gamepad_adapter.cpp +++ b/src/core/gamepad_adapter.cpp @@ -36,7 +36,7 @@ namespace lvh { }; bool is_common_button(GamepadButton button) { - return std::ranges::contains(common_buttons, button); + return std::find(common_buttons.begin(), common_buttons.end(), button) != common_buttons.end(); } bool supports_common_misc1_button(GamepadProfileKind kind) {