AnalogController: Set vibration strength to 0 on Reset

This commit is contained in:
Connor McLaughlin 2020-09-18 00:13:59 +10:00
parent 915b7d3726
commit e6bff275a6

View file

@ -25,6 +25,7 @@ void AnalogController::Reset()
m_rumble_unlocked = false; m_rumble_unlocked = false;
m_configuration_mode = false; m_configuration_mode = false;
m_command_param = 0; m_command_param = 0;
m_motor_state.fill(0);
if (m_auto_enable_analog) if (m_auto_enable_analog)
SetAnalogMode(true); SetAnalogMode(true);