diff --git a/lib/input.cpp b/lib/input.cpp index 910ed01..2679fb4 100644 --- a/lib/input.cpp +++ b/lib/input.cpp @@ -1,9 +1,11 @@ #include "input.hpp" #include "internal.hpp" -#include "pad.hpp" #include "magic_enum.hpp" +#include +#include + #include #include @@ -103,9 +105,11 @@ static std::optional remap_controller_layout(std::string_view mappi entries.insert_or_assign("rightshoulder"sv, "b10"sv); } else if (entries.contains("leftshoulder"sv) && entries.contains("rightshoulder"sv) && entries.contains("back"sv)) { Log.report(LOG_INFO, FMT_STRING("Controller has standard layout")); +#if 0 auto a = entries["a"sv]; entries.insert_or_assign("a"sv, entries["b"sv]); entries.insert_or_assign("b"sv, a); +#endif auto x = entries["x"sv]; entries.insert_or_assign("x"sv, entries["y"sv]); entries.insert_or_assign("y"sv, x); diff --git a/lib/pad.hpp b/lib/pad.hpp deleted file mode 100644 index 1b27e5d..0000000 --- a/lib/pad.hpp +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -#include -#include -