This commit is contained in:
Megamouse 2024-09-15 16:08:50 +03:00 committed by GitHub
commit 9b6d3a11be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -709,6 +709,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
}
}