I am trying to port SDL2 to a X11-less device. I went berserk and added
a “fbdev” video backend (which doesn’t have much to see with fbdev
actually, it’s more a wrapper around EGL with a hardcoded 320x240 mode).
My problem is that if I configure SDL2 to use evdev but without libudev,
I don’t receive any events.
Looking at src/core/linux/SDL_evdev.c it makes sense since device
structures are added to the linked list “_this->first” only if
SDL_USE_LIBUDEV is set.
It would be nice to either provide an alternative to udev (by scanning
/dev/input/eventX for instance) or to make the selection of evdev