Install libspnav0 by entering the following commands in the terminal:
sudo apt update sudo apt install libspnav0
Library to access 3D-input-devices (development files)
The spacenav project provides a free, compatible alternative to the proprietary 3Dconnexion SDK for their 3D input devices (called "space navigator", "space pilot", "space traveller", etc). . This package contains the library.