Skip to content

Commit 94ecfbb

Browse files
Remove rumble multiplication.
1 parent 6b95a6d commit 94ecfbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UnleashedRecomp/hid/driver/sdl_hid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class Controller
138138

139139
this->vibration = vibration;
140140

141-
SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed * 256, vibration.wRightMotorSpeed * 256, VIBRATION_TIMEOUT_MS);
141+
SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed, vibration.wRightMotorSpeed, VIBRATION_TIMEOUT_MS);
142142
}
143143

144144
void SetLED(const uint8_t r, const uint8_t g, const uint8_t b) const

0 commit comments

Comments
 (0)