Skip to content

Short example that create and play a constant force effect using the force feedback feature on a USB Physical Interface Device (PID) with the hidapi library.

License

Notifications You must be signed in to change notification settings

YvDem/PID-effects-example

Repository files navigation

PID effects example

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

About

Short example that create and play a constant force effect using the force feedback feature on a USB Physical Interface Device (PID) with the hidapi library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages