The aim is to provide a corss-platform library to access Joystick peripheral on macOs, Linux and Windows systems.
You can include this library in your CMake projects using FetchContent
include(FetchContent)
FetchContent_Declare(
joystick
GIT_REPOSITORY https://github.com/pettinz/joystick.git
GIT_TAG "master")
FetchContent_MakeAvailable(joystick)Otherwise you can build from the source code
$ ~ git clone https://github.com/pettinz/joystick.git
$ ~ cd joystick
$ ~ cmake -Bbuild
$ ~ cmake --build build