Add SetGamepadVibration warnings to unimplemented platforms.
This commit is contained in:
parent
e577614a04
commit
9ff3e32f7d
|
|
@ -613,6 +613,12 @@ int SetGamepadMappings(const char *mappings)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set gamepad vibration
|
||||||
|
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float durationMs)
|
||||||
|
{
|
||||||
|
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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -519,6 +519,12 @@ int SetGamepadMappings(const char *mappings)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set gamepad vibration
|
||||||
|
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float durationMs)
|
||||||
|
{
|
||||||
|
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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -850,6 +850,12 @@ int SetGamepadMappings(const char *mappings)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set gamepad vibration
|
||||||
|
void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float durationMs)
|
||||||
|
{
|
||||||
|
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…
Reference in New Issue
Block a user