From 3f709d97b62063c8553392951260da7fe89d800c Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Wed, 25 Nov 2020 06:12:16 -0800 Subject: [PATCH] AnalogController: Send full analog response for reads in config mode --- src/core/analog_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/analog_controller.cpp b/src/core/analog_controller.cpp index f165cf0a3..135cfdc2e 100644 --- a/src/core/analog_controller.cpp +++ b/src/core/analog_controller.cpp @@ -332,8 +332,8 @@ bool AnalogController::Transfer(const u8 data_in, u8* data_out) } *data_out = Truncate8(m_button_state >> 8); - m_state = m_analog_mode ? State::GetStateRightAxisX : State::Idle; - ack = m_analog_mode; + m_state = (m_analog_mode || m_configuration_mode) ? State::GetStateRightAxisX : State::Idle; + ack = m_analog_mode || m_configuration_mode; } break;