AnalogController: Delay manual mode toggle to transfer state reset

This commit is contained in:
Albert Liu
2020-11-23 17:35:34 -08:00
parent ade61d6139
commit e4820bcbc1
2 changed files with 22 additions and 16 deletions

View File

@ -149,6 +149,8 @@ private:
std::array<u8, static_cast<u8>(Axis::Count)> m_axis_state{};
bool m_analog_toggle_queued = false;
// buttons are active low
u16 m_button_state = UINT16_C(0xFFFF);