src/joystick/windows/SDL_windowsjoystick.c
changeset 13480 6a144eb5e1f1
parent 13422 fd6a12de91c7
child 13872 75c33f89d791
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Tue Feb 04 07:23:44 2020 -0800
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Tue Feb 04 12:48:53 2020 -0800
     1.3 @@ -481,12 +481,12 @@
     1.4  }
     1.5  
     1.6  static int
     1.7 -WINDOWS_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)
     1.8 +WINDOWS_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble)
     1.9  {
    1.10      if (joystick->hwdata->bXInputDevice) {
    1.11 -        return SDL_XINPUT_JoystickRumble(joystick, low_frequency_rumble, high_frequency_rumble, duration_ms);
    1.12 +        return SDL_XINPUT_JoystickRumble(joystick, low_frequency_rumble, high_frequency_rumble);
    1.13      } else {
    1.14 -        return SDL_DINPUT_JoystickRumble(joystick, low_frequency_rumble, high_frequency_rumble, duration_ms);
    1.15 +        return SDL_DINPUT_JoystickRumble(joystick, low_frequency_rumble, high_frequency_rumble);
    1.16      }
    1.17  }
    1.18