From c8850a5e9c3337a8b1385372985cef0a8fd6b838 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 a1aeeb7885..a46754096b 100644 --- a/rpcs3/Emu/Io/PadHandler.cpp +++ b/rpcs3/Emu/Io/PadHandler.cpp @@ -726,6 +726,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 } }