This library is for the ChenGong joystick. Below are the details for this device:
idVendor=0x0416
idProduct=0xb001
- Using pip, install
pyusb
pip install pyusb
- Copy and paste the
*udev.rules fileinto/etc/udev/rules.d
sudo cp 50-chengong-joystick-udev.rules /etc/udev/rules.d/
- Apply the udev rules
sudo /etc/init.d/udev restart
- Run the python file
python joystick_test.py