Another potential option - there's a library called gilrs which provides an abstraction over the platform-specific APIs for gamepad input. The ggez framework (which is in the process of moving away from SDL with the aim of not having any C dependencies) is planning on using it going forward, and I believe the Amethyst engine already does. The main issue with it at the moment is the lack of OSX support, but it sounds like they're planning on getting that sorted sooner rather than later.
Just to add even more confusion to the mix :)
Nice! Thanks for the tips, that definitely gives me more to look into.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.