input device helper lib for wayland compositor