nomai-vr/NomaiVR/ModConfig/IModSettingProvider.cs
Ezra Hill aefee463b0
Added Snap Turning (#556)
* Added Snap Turning

- Disabled by default, can be enabled in settings
- Amount per input can be defined in settings (current range is 15 - 90 degrees)
- Default input action is the right thumb stick (same as smooth turn)

* Moved snap turn from slider to selector for settings

* Fixed snap turning with smooth HUD/Helmet

- Previously, the smooth HUD/Helmet would uncomfortably move a long distance after you snap turn
- Now, if smooth HUD and snap turning are both enabled, the helmet snap turns for a frame, then resumes it's previous behavior

* Disable snap turning while in zero-g

---------

Co-authored-by: Raicuparta <Raicuparta@users.noreply.github.com>
2025-03-02 22:55:41 +01:00

33 lines
935 B
C#

using System;
namespace NomaiVR.ModConfig
{
public interface IModSettingProvider
{
event Action OnConfigChange;
bool LeftHandDominant { get; }
bool DebugMode { get; }
bool PreventCursorLock { get; }
bool ShowHelmet { get; }
float VibrationStrength { get; }
bool EnableGesturePrompts { get; }
bool EnableHandLaser { get; }
bool EnableFeetMarker { get; }
bool PreventClipping { get; }
bool FlashlightGesture { get; }
bool ControllerOrientedMovement { get; }
bool SnapTurning { get; }
string SnapTurnIncrement { get; }
bool AutoHideToolbelt { get; }
float ToolbeltHeight { get; }
float HudScale { get; }
float HudOpacity { get; }
float MarkersOpacity { get; }
float LookArrowOpacity { get; }
bool HudSmoothFollow { get; }
void Configure();
}
}