mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-26 12:48:27 +00:00
(udev_joypad.c) Remove 'Device connected' message - autoconfig already
does this
This commit is contained in:
parent
1a5e16ff99
commit
976428f7fd
@ -330,20 +330,10 @@ static void udev_check_device(struct udev_device *dev, const char *path, bool ho
|
||||
return;
|
||||
|
||||
if (udev_add_pad(dev, pad, fd, path))
|
||||
{
|
||||
if (hotplugged)
|
||||
{
|
||||
char msg[512];
|
||||
snprintf(msg, sizeof(msg), "Device #%u (%s) connected.", pad, path);
|
||||
rarch_main_msg_queue_push(msg, 0, 60, false);
|
||||
RARCH_LOG("[udev]: %s\n", msg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
RARCH_ERR("[udev]: Failed to add pad: %s.\n", path);
|
||||
close(fd);
|
||||
}
|
||||
return;
|
||||
|
||||
RARCH_ERR("[udev]: Failed to add pad: %s.\n", path);
|
||||
close(fd);
|
||||
}
|
||||
|
||||
static void udev_free_pad(unsigned pad, bool hotplug)
|
||||
|
Loading…
x
Reference in New Issue
Block a user