input: log all config file content if used

This commit is contained in:
Megamouse 2024-08-08 05:06:28 +02:00
parent 3970b7b754
commit 548cc074f4
4 changed files with 49 additions and 18 deletions

View file

@ -51,6 +51,8 @@ void raw_mouse::reload_config()
{
if (const auto& player = ::at32(g_cfg_raw_mouse.players, m_index))
{
input_log.notice("Raw mouse config for player %d=\n%s", m_index, player->to_string());
m_mouse_acceleration = static_cast<float>(player->mouse_acceleration.get()) / 100.0f;
m_buttons[CELL_MOUSE_BUTTON_1] = get_mouse_button(player->mouse_button_1);