I am starting to build a game from scratch using X11/GLX for Linux.
I know on Windows, you typically have Xinput*.dll to work with (a la Handmade hero).
I was looking for something similar for Linux and I found this:
https://github.com/ThemsAllTook/libstem_gamepad/
It would be a grand total of 4 readable header/implementation files (and I may even concatenate them into one file), which is nice. Doesn't look like it has support for rumble, but looking through evdev API, it doesn't look TOO terrible to put in later.
Has anyone used this library or recommend another Linux library for controllers?
I understand SDL, of course, has a module for controllers, but it doesn't look like its too easy to rip out from the rest of the library.