lower js poll rate
This commit is contained in:
parent
4a7082319f
commit
ed74a4fc83
|
@ -44,7 +44,7 @@ SDL_Joysticks::SDL_Joysticks(QObject *parent)
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
configureJoystick(i);
|
configureJoystick(i);
|
||||||
|
|
||||||
QTimer::singleShot(100, Qt::PreciseTimer, this, SLOT(update()));
|
QTimer::singleShot(10, Qt::PreciseTimer, this, SLOT(update()));
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Joysticks::~SDL_Joysticks()
|
SDL_Joysticks::~SDL_Joysticks()
|
||||||
|
|
Loading…
Reference in a new issue