To install the packages, do one of the following:
Binary installation is available for all active distros.
Source your ROS installation, then run:
sudo apt update
sudo apt install ros-${ROS_DISTRO}-game-controller-spl
If this method does not work for your platform, perform the Source Installation instead.
Source your ROS2 installation, then in your ROS2 workspace, run:
git clone https://github.com/ros-sports/game_controller_spl.git src/game_controller_spl --branch ${ROS_DISTRO}
In your ROS2 workspace, install the dependencies:
rosdep install --from-paths src -i
Build the package:
colcon build