mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00: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
|
||||
{
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue