Skip to content

Commit

Permalink
Update snapturn slider to Int32; change default ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
narknon committed Nov 30, 2023
1 parent f9a62c0 commit 20606a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mods/VR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,8 @@ class VR : public Mod {

// Snap turn settings and globals
const ModToggle::Ptr m_snapturn{ ModToggle::create(generate_name("SnapTurn"), false) };
const ModSlider::Ptr m_snapturn_joystick_deadzone{ ModSlider::create(generate_name("SnapturnJoystickDeadzone"), 0.01f, 0.9f, 0.1f) };
const ModInt32::Ptr m_snapturn_angle{ ModInt32::create(generate_name("SnapturnTurnAngle"), 45) };
const ModSlider::Ptr m_snapturn_joystick_deadzone{ ModSlider::create(generate_name("SnapturnJoystickDeadzone"), 0.01f, 0.99f, 0.2f) };
const ModInt32::Ptr m_snapturn_angle{ ModSliderInt32::create(generate_name("SnapturnTurnAngle"), 1, 359, 45) };
static inline bool m_snapturn_on_frame{false};
static inline bool m_snapturn_left{false};
static inline bool m_was_snapturn_run_on_input{false};
Expand Down

0 comments on commit 20606a5

Please sign in to comment.