YukMingLaw / ArduinoJoystickWithFFBLibrary

An Arduino Joystick Library With Force Feedback Feature
GNU Lesser General Public License v3.0
208 stars 55 forks source link

How to use the rumble/ vibration? #33

Closed JB2120 closed 2 years ago

JB2120 commented 2 years ago

I've been looking through the documentation and examples in this library and I can't seem to find anything about how to add rumble (vibration is mentioned in the project statement). I assume that's what the RX RY and RZ flags are for but honestly, I have no idea how to add rumble to a project with this library and I'm not 100% it's even supported by this library.

Thanks for the library it's been really helpful if anyone can help I'd greatly appreciate it.

YukMingLaw commented 2 years ago

The vibration is drived by constant force, this effect is supported.You just set 'true' flag of X and Y axes, then you can get the output value of vibration.