Compare commits

...

2 Commits

Author SHA1 Message Date
Megamouse 9b6d3a11be
Merge 851b959b7f into d1648dd707 2024-09-15 16:08:50 +03:00
Megamouse 851b959b7f Log LT values 2024-08-25 21:10:29 +02:00
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
}
}