From 2b493d8ec0062e46d37c3b20039862e1705b6d69 Mon Sep 17 00:00:00 2001 From: originalnicodr Date: Sun, 30 Jun 2024 15:49:33 -0300 Subject: [PATCH] Added comment about patches on IInputManager --- build.ps1 | 1 - src/Cinematic/IInputManager.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index e56814d..0d401b1 100644 --- a/build.ps1 +++ b/build.ps1 @@ -43,7 +43,6 @@ New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force Move-Item -Path $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll -Destination $Path/Mods -Force New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force Move-Item -Path $Path/UniverseLib.ML.IL2CPP.Interop.dll -Destination $Path/UserLibs -Force - # (create zip archive) Remove-Item $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue compress-archive .\$Path\* $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip diff --git a/src/Cinematic/IInputManager.cs b/src/Cinematic/IInputManager.cs index 73b7fb8..84e0cb2 100644 --- a/src/Cinematic/IInputManager.cs +++ b/src/Cinematic/IInputManager.cs @@ -245,6 +245,7 @@ namespace UniverseLib.Input } catch { } + // The following patches should allow us to block controller input, but they don't seem to be doing anything. try { MethodInfo getAxisTarget = t_Input.GetMethod("GetAxis", new Type[] {typeof(string)});