mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
InputCommon: replace SerialInterface log with ControllerInterface
where appropriate. SerialInterface was a leftover from the past, and makes no sense to be used on actual/real controllers.
This commit is contained in:
parent
a8c40eb510
commit
81092cf7e4
12 changed files with 65 additions and 60 deletions
|
@ -253,7 +253,7 @@ static void AddDeviceNode(const char* devnode)
|
|||
auto evdev_device = FindDeviceWithUniqueIDAndPhysicalLocation(uniq, phys);
|
||||
if (evdev_device)
|
||||
{
|
||||
NOTICE_LOG_FMT(SERIALINTERFACE,
|
||||
NOTICE_LOG_FMT(CONTROLLERINTERFACE,
|
||||
"evdev combining devices with unique id: {}, physical location: {}", uniq, phys);
|
||||
|
||||
evdev_device->AddNode(devnode, fd, dev);
|
||||
|
@ -282,7 +282,7 @@ static void AddDeviceNode(const char* devnode)
|
|||
static void HotplugThreadFunc()
|
||||
{
|
||||
Common::SetCurrentThreadName("evdev Hotplug Thread");
|
||||
NOTICE_LOG_FMT(SERIALINTERFACE, "evdev hotplug thread started");
|
||||
NOTICE_LOG_FMT(CONTROLLERINTERFACE, "evdev hotplug thread started");
|
||||
|
||||
udev* const udev = udev_new();
|
||||
Common::ScopeGuard udev_guard([udev] { udev_unref(udev); });
|
||||
|
@ -337,7 +337,7 @@ static void HotplugThreadFunc()
|
|||
AddDeviceNode(devnode);
|
||||
}
|
||||
}
|
||||
NOTICE_LOG_FMT(SERIALINTERFACE, "evdev hotplug thread stopped");
|
||||
NOTICE_LOG_FMT(CONTROLLERINTERFACE, "evdev hotplug thread stopped");
|
||||
}
|
||||
|
||||
static void StartHotplugThread()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue