You can also start with a default config based on the drivers you want to use, you can find a default config for each graphic driver inside the configs/ directory.
epoll-shim Small epoll implementation using kqueue; includes all features needed for libinput/libevdev This repo is used by the port devel/libepoll-shim ...