This uses libudev for hotplug, but it's optional, so we'll just try to find some reasonable defaults without it (maybe an older Linux box or under FreeBSD's Linux emulation?).
The newer API (/dev/input/event/*) is 12+ years old at this point, and has been available since Linux 2.4.