You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ReSharper disable MemberCanBePrivate.Global, these categories may be used outside of this namespace to create bonemenu options.
namespace WeatherElectric.OBSControl;
internal static class Preferences
{
public static readonly MelonPreferences_Category OwnCategory = MelonPreferences.CreateCategory("OBSControl");
public static MelonPreferences_Entry<bool> ShowNotifications { get; set; }
public static MelonPreferences_Entry<ControlHand> ReplayControlHand { get; set; }
public static MelonPreferences_Entry<float> DoubleTapTime { get; set; }
public static void Setup()
{
ShowNotifications = OwnCategory.CreateEntry("ShowNotifications", true, "Show Notifications", "Whether to show notifications when OBS events occur.");
ReplayControlHand = OwnCategory.CreateEntry("ReplayControlHand", ControlHand.Right, "Replay Control Hand", "The hand to use for saving replays. Left = Left hand, Right = Right hand, Both = Both hands.");
DoubleTapTime = OwnCategory.CreateEntry("DoubleTapTime", 0.3f, "Double Tap Time", "The time to wait between taps to trigger saving a replay.");