mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 03:54:45 +00:00
one day clang format will finally pass
This commit is contained in:
parent
285fb8fafd
commit
a64c820b21
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void GameController::SetLightBarRGB(u8 r, u8 g, u8 b) {
|
|||
|
||||
bool GameController::SetVibration(u8 smallMotor, u8 largeMotor) {
|
||||
if (m_sdl_gamepad != nullptr) {
|
||||
return SDL_RumbleGamepad(m_sdl_gamepad, (smallMotor / 255.0f) * 0xFFFF,
|
||||
return SDL_RumbleGamepad(m_sdl_gamepad, (smallMotor / 255.0f) * 0xFFFF,
|
||||
(largeMotor / 255.0f) * 0xFFFF, -1) == 0;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue