mirror of https://github.com/PCSX2/pcsx2.git
USB: Increase length of FFB events
This commit is contained in:
parent
3254714b70
commit
a979d2283f
|
@ -71,7 +71,7 @@ namespace usb_pad
|
||||||
|
|
||||||
void SDLFFDevice::CreateEffects(const std::string_view& device)
|
void SDLFFDevice::CreateEffects(const std::string_view& device)
|
||||||
{
|
{
|
||||||
constexpr u32 length = 1000; // good enough?
|
constexpr u32 length = 10000; // 10 seconds since NFS games seem to not issue new commands while rotating.
|
||||||
|
|
||||||
const unsigned int supported = SDL_HapticQuery(m_haptic);
|
const unsigned int supported = SDL_HapticQuery(m_haptic);
|
||||||
if (supported & SDL_HAPTIC_CONSTANT)
|
if (supported & SDL_HAPTIC_CONSTANT)
|
||||||
|
|
Loading…
Reference in New Issue