mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
add SetGamepadVibration to rgfw and template (#4612)
This commit is contained in:
parent
bdfbd6e8cc
commit
714cd5ef5c
@ -780,6 +780,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)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -381,6 +381,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 implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set mouse position XY
|
// Set mouse position XY
|
||||||
void SetMousePosition(int x, int y)
|
void SetMousePosition(int x, int y)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user