MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / SetVibration

Function SetVibration

include/Gamepad.hpp:96–98  ·  view source on GitHub ↗

* Set gamepad vibration for both motors (duration in seconds) */

Source from the content-addressed store, hash-verified

94 * Set gamepad vibration for both motors (duration in seconds)
95 */
96 void SetVibration(float leftMotor, float rightMotor, float duration) const {
97 ::SetGamepadVibration(number, leftMotor, rightMotor, duration);
98 }
99protected:
100 void set(int gamepadNumber) { number = gamepadNumber; }
101};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected