mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
evdev: don't warn on disabled motion device
This commit is contained in:
parent
72cd146665
commit
50446e425d
1 changed files with 5 additions and 1 deletions
|
@ -1448,7 +1448,11 @@ bool evdev_joystick_handler::bindPadToDevice(std::shared_ptr<Pad> pad)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_bindings.emplace_back(pad, evdev_device, nullptr);
|
m_bindings.emplace_back(pad, evdev_device, nullptr);
|
||||||
evdev_log.warning("evdev add_motion_device in bindPadToDevice failed for device %s", player_config->buddy_device.to_string());
|
|
||||||
|
if (const std::string buddy_device_name = player_config->buddy_device.to_string(); buddy_device_name != "Null")
|
||||||
|
{
|
||||||
|
evdev_log.warning("evdev add_motion_device in bindPadToDevice failed for device %s", buddy_device_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue