Skip to content

Commit 3227102

Browse files
authored
fix: manual flashlight toggle on right vr controller (#1446)
1 parent 8684bef commit 3227102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mods/VR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3380,7 +3380,7 @@ void VR::openvr_input_to_re2_re3(REManagedObject* input_system) {
33803380
const auto is_quickturn_down = is_action_active(m_action_re2_quickturn, m_left_joystick) || is_action_active(m_action_re2_quickturn, m_right_joystick);
33813381
const auto is_reset_view_down = is_action_active(m_action_re2_reset_view, m_left_joystick) || is_action_active(m_action_re2_reset_view, m_right_joystick);
33823382
const auto is_change_ammo_down = is_action_active(m_action_re2_change_ammo, m_left_joystick) || is_action_active(m_action_re2_change_ammo, m_right_joystick);
3383-
const auto is_toggle_flashlight_down = is_action_active(m_action_re2_toggle_flashlight, m_left_joystick);
3383+
const auto is_toggle_flashlight_down = is_action_active(m_action_re2_toggle_flashlight, m_left_joystick) || is_action_active(m_action_re2_toggle_flashlight, m_right_joystick);
33843384

33853385
const auto is_left_system_button_down = is_action_active(m_action_system_button, m_left_joystick);
33863386
const auto is_right_system_button_down = is_action_active(m_action_system_button, m_right_joystick);

0 commit comments

Comments
 (0)