mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[DesktopVRSwitch] Minor changes
This commit is contained in:
parent
6d17085f21
commit
4c09f9bd57
25 changed files with 359 additions and 205 deletions
20
DesktopVRSwitch/ModSettings.cs
Normal file
20
DesktopVRSwitch/ModSettings.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using MelonLoader;
|
||||
|
||||
namespace NAK.DesktopVRSwitch;
|
||||
|
||||
public static class ModSettings
|
||||
{
|
||||
internal const string SettingsCategory = nameof(DesktopVRSwitch);
|
||||
|
||||
public static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(SettingsCategory);
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryEnterCalibrationOnSwitch =
|
||||
Category.CreateEntry("Enter Calibration on Switch", true, description: "Should you automatically be placed into calibration after switch if FBT is available? Overridden by Save Calibration IK setting.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryUseTransitionOnSwitch =
|
||||
Category.CreateEntry("Use Transition on Switch", true, description: "Should the world transition play on VRMode switch?");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntrySwitchToDesktopOnExit =
|
||||
Category.CreateEntry("Switch to Desktop on SteamVR Exit", false, description: "Should the game switch to Desktop when SteamVR quits?");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue