Uh whoops it already does it for me lol

This commit is contained in:
2026-05-16 22:11:54 -07:00
parent 8bac2fec7b
commit 7259eb48b1

View File

@@ -27,18 +27,15 @@ namespace Radium.InputManagerPatch
{ {
Log = base.Log; Log = base.Log;
// The valid input types to print in our config
var inputTypes = string.Join(", ", Enum.GetNames(typeof(InputManager.LNEHPBFDEGG)));
VRInputDeviceType = Config.Bind( VRInputDeviceType = Config.Bind(
section: "Input", section: "Input",
key: "VRInputDeviceType", key: "VRInputDeviceType",
defaultValue: InputManager.LNEHPBFDEGG.SteamVR_Vive, defaultValue: InputManager.LNEHPBFDEGG.SteamVR_Vive,
description: $"Fixed input mode. Valid options are: {inputTypes}"); description: $"Fixed input mode. Set it to any of the acceptable values below");
Log.LogInfo($"{MyPluginInfo.PLUGIN_GUID} loaded!"); Log.LogInfo($"{MyPluginInfo.PLUGIN_GUID} loaded!");
#if DEBUG #if DEBUG
Log.LogInfo(VRInputDeviceType.Value); Log.LogInfo($"We are set! {VRInputDeviceType.Value}");
#endif #endif
_harmony.PatchAll(); _harmony.PatchAll();
} }