libudev-compatible interface for devd

Intended to work with xorg-server and libinput
