From 2040136e38649f038688253c54fce99b2a4ecf48 Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:42:54 +0100 Subject: [PATCH] rcore_desktop_rgfw.c SetGamepadVibration added --- raylib/platforms/rcore_desktop_rgfw.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/raylib/platforms/rcore_desktop_rgfw.c b/raylib/platforms/rcore_desktop_rgfw.c index f3f26e3e..973d44e4 100644 --- a/raylib/platforms/rcore_desktop_rgfw.c +++ b/raylib/platforms/rcore_desktop_rgfw.c @@ -783,6 +783,12 @@ int SetGamepadMappings(const char *mappings) return 0; } +// Set gamepad vibration +void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration) +{ + TRACELOG(LOG_WARNING, "GamepadSetVibration() not available on target platform"); +} + // Set mouse position XY void SetMousePosition(int x, int y) {