Merge pull request #477 from JupiterRider/rgfw_rumble

rcore_desktop_rgfw.c SetGamepadVibration added
This commit is contained in:
Milan Nikolic 2024-12-17 19:56:05 +01:00 committed by GitHub
commit 453bad2769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -783,6 +783,12 @@ int SetGamepadMappings(const char *mappings)
return 0; 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 // Set mouse position XY
void SetMousePosition(int x, int y) void SetMousePosition(int x, int y)
{ {