RetroArch/input/drivers_joypad
amtz d0612f906d Limit udev device scan to subsystem 'input'
This change makes the call to 'udev_enumerate_scan_devices' much faster.
In particular, for some bluetooth devices, this function may implicitly
read its battery's virtual file 'uevent', e.g.

/sys/devices/*/usb1/1-1/*/bluetooth/hci0/*/power_supply/hid-*-battery/uevent

Reading this file may (for unknown reasons) block up to 10 seconds.
Since udev_enumerate_scan_devices is called 4 times (for keyboard,
mouse, touchpad, and joypad) during startup this may cause a
considerable delay.

Limiting the scan to subsystem 'input' yields the same devices but makes
the scan faster and does not read 'uevent' of the input controller's
power_supply.
2021-08-02 13:17:00 +02:00
..
2020-08-30 18:59:57 +02:00
2020-08-30 18:59:57 +02:00
2020-12-20 16:41:44 +01:00
2021-05-21 10:54:02 +02:00
2021-07-29 22:16:59 +12:00
2021-03-25 16:19:42 +00:00
2021-07-29 12:18:11 +08:00
2020-08-30 18:59:57 +02:00
2020-08-30 18:59:57 +02:00