Code updates
This commit is contained in:
parent
a8ac7d982a
commit
16d70fc589
3 changed files with 60 additions and 0 deletions
23
ControllerFixer/Plugin.cs
Normal file
23
ControllerFixer/Plugin.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using BepInEx;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace ControllerFixer
|
||||
{
|
||||
[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)]
|
||||
public class Plugin : BaseUnityPlugin
|
||||
{
|
||||
private void Awake()
|
||||
{
|
||||
// Plugin startup logic
|
||||
Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!");
|
||||
}
|
||||
}
|
||||
[HarmonyPatch(typeof(SteamUtils), "IsSteamDeck")]
|
||||
public static class SteamUtils_IsSteamDeck_Patch
|
||||
{
|
||||
public static void Postfix(ref bool __result)
|
||||
{
|
||||
__result = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue