From 34d7c375c4cd4457a124d6e923966c7411bdae6a Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 16 Aug 2024 21:15:30 +0200 Subject: [PATCH] Log LT values --- rpcs3/Emu/Io/PadHandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/Io/PadHandler.cpp b/rpcs3/Emu/Io/PadHandler.cpp index ce1bf81abed8..78a9b0b04b62 100644 --- a/rpcs3/Emu/Io/PadHandler.cpp +++ b/rpcs3/Emu/Io/PadHandler.cpp @@ -705,6 +705,13 @@ void PadHandlerBase::get_mapping(const pad_ensemble& binding) pad->m_sticks[1].m_value = 255 - ly; pad->m_sticks[2].m_value = rx; pad->m_sticks[3].m_value = 255 - ry; + +#ifdef _WIN32 + if (m_type == pad_handler::xinput) + { + input_log.error("LT=%d, LT+=%d, LT-=%d, RY=%d", button_values[16], button_values[18], button_values[19], pad->m_sticks[3].m_value); + } +#endif } }