Skip to content

Commit

Permalink
rcore_desktop_rgfw.c SetGamepadVibration added
Browse files Browse the repository at this point in the history
  • Loading branch information
JupiterRider committed Dec 17, 2024
1 parent edb2c10 commit 2040136
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions raylib/platforms/rcore_desktop_rgfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2040136

Please sign in to comment.