Remove rumble multiplication. (#1513)
Some checks failed
validate-internal / build (push) Has been cancelled

This commit is contained in:
Skyth (Asilkan) 2026-01-30 19:39:09 +03:00 committed by GitHub
parent 6b95a6d193
commit 77f68d2d7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,7 +138,7 @@ public:
this->vibration = vibration;
SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed * 256, vibration.wRightMotorSpeed * 256, VIBRATION_TIMEOUT_MS);
SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed, vibration.wRightMotorSpeed, VIBRATION_TIMEOUT_MS);
}
void SetLED(const uint8_t r, const uint8_t g, const uint8_t b) const