Browse Source

comma backend: add missing `SetGamepadVibration` (#5)

pull/5008/head
Maxime Desroches 5 months ago
committed by GitHub
parent
commit
66030a7de6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/platforms/rcore_comma.c

+ 4
- 0
src/platforms/rcore_comma.c View File

@ -572,6 +572,10 @@ int SetGamepadMappings(const char *mappings) {
return 0; return 0;
} }
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) {
CORE.Input.Mouse.currentPosition = (Vector2){ (float)x, (float)y }; CORE.Input.Mouse.currentPosition = (Vector2){ (float)x, (float)y };

Loading…
Cancel
Save