Skip to content

Commit 99cb4cb

Browse files
authored
Fix SetGamepadVibration() TRACELOG message (#4615)
1 parent 783ca61 commit 99cb4cb

5 files changed

+5
-5
lines changed

src/platforms/rcore_android.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ int SetGamepadMappings(const char *mappings)
627627
// Set gamepad vibration
628628
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration)
629629
{
630-
TRACELOG(LOG_WARNING, "GamepadSetVibration() not implemented on target platform");
630+
TRACELOG(LOG_WARNING, "SetGamepadVibration() not implemented on target platform");
631631
}
632632

633633
// Set mouse position XY

src/platforms/rcore_desktop_glfw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ int SetGamepadMappings(const char *mappings)
10881088
// Set gamepad vibration
10891089
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration)
10901090
{
1091-
TRACELOG(LOG_WARNING, "GamepadSetVibration() not available on target platform");
1091+
TRACELOG(LOG_WARNING, "SetGamepadVibration() not available on target platform");
10921092
}
10931093

10941094
// Set mouse position XY

src/platforms/rcore_desktop_rgfw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ int SetGamepadMappings(const char *mappings)
797797
// Set gamepad vibration
798798
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration)
799799
{
800-
TRACELOG(LOG_WARNING, "GamepadSetVibration() not available on target platform");
800+
TRACELOG(LOG_WARNING, "SetGamepadVibration() not available on target platform");
801801
}
802802

803803
// Set mouse position XY

src/platforms/rcore_drm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ int SetGamepadMappings(const char *mappings)
622622
// Set gamepad vibration
623623
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration)
624624
{
625-
TRACELOG(LOG_WARNING, "GamepadSetVibration() not implemented on target platform");
625+
TRACELOG(LOG_WARNING, "SetGamepadVibration() not implemented on target platform");
626626
}
627627

628628
// Set mouse position XY

src/platforms/rcore_template.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ int SetGamepadMappings(const char *mappings)
384384
// Set gamepad vibration
385385
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float duration)
386386
{
387-
TRACELOG(LOG_WARNING, "GamepadSetVibration() not implemented on target platform");
387+
TRACELOG(LOG_WARNING, "SetGamepadVibration() not implemented on target platform");
388388
}
389389

390390
// Set mouse position XY

0 commit comments

Comments
 (0)