This example demonstrates how to create and play a ET Constant force effect for a PID (Physical Interface Device) USB.
I have tested this example with a MOZA R9 BASE.
This example has been built with the hidapi found here: https://github.com/libusb/hidapi#readme This example has been built upon the hidapi example found here: https://libusb.info/hidapi/examples.html
You can find documentation for the HID class here: https://www.usb.org/sites/default/files/hid1_11.pdf
and the HID usage tables here: https://www.usb.org/sites/default/files/hut1_5.pdf
You can find documentation for the PID class here: https://www.usb.org/sites/default/files/pid1_01_0.pdf