mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Only warn if udev detects no input.
This commit is contained in:
parent
da732453c7
commit
860dfc61e6
@ -761,12 +761,8 @@ static void *udev_input_init(void)
|
||||
}
|
||||
|
||||
// If using KMS and we forgot this, we could lock ourselves out completely.
|
||||
// Include this as a safety guard.
|
||||
if (!udev->num_devices)
|
||||
{
|
||||
RARCH_ERR("[udev]: Couldn't open any devices. Are permissions set correctly for /dev/input/event*?\n");
|
||||
goto error;
|
||||
}
|
||||
RARCH_WARN("[udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?\n");
|
||||
|
||||
udev->joypad = input_joypad_init_driver(g_settings.input.joypad_driver);
|
||||
input_init_keyboard_lut(rarch_key_map_linux);
|
||||
|
Loading…
x
Reference in New Issue
Block a user