/libgamepad

A simple library for handling gamepads

Primary LanguageValaGNU Lesser General Public License v3.0LGPL-3.0

libgamepad

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.

Building

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

Running

This comes with a sample test program libgamepadtest. You can run it to test the program.

License

This project is distributed under the LGPLv3 license.