This is a GLib/GObject-based library written in Vala to simplify interactions with gamepads. It aims to be cross-platform (though currently it is Linux-only). It is also compatible with the SDL mapping format and thus is compatible with the huge list of mappings from the community maintained SDL mapping database.
This project is built using mesonbuild (so make sure you have mesonbuild installed).
mkdir build
meson build
cd build
ninja-build
sudo ninja-build install
sudo ldconfig
This comes with a sample test program libgamepadtest
. You can run it to test the program.
This project is distributed under the LGPLv3 license.