Install libhidapi-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libhidapi-dev
Description:
Multi-Platform library for communication with HID devices (development files)
HIDAPI is a multi-platform library enabling applications to easily interface with Bluetooth and USB HID-class devices. . This package contains the files needed to compile and link programs which use HIDAPI.
Homepage: http://www.signal11.us/oss/hidapi/
Version: 0.8.0~rc1+git20140818.d17db57+dfsg-2
Section: universe/libdevel