lower js poll rate

This commit is contained in:
uvos 2022-02-22 14:51:54 +01:00
parent 4a7082319f
commit ed74a4fc83

View File

@ -44,7 +44,7 @@ SDL_Joysticks::SDL_Joysticks(QObject *parent)
for (int i = 0; i < count; ++i)
configureJoystick(i);
QTimer::singleShot(100, Qt::PreciseTimer, this, SLOT(update()));
QTimer::singleShot(10, Qt::PreciseTimer, this, SLOT(update()));
}
SDL_Joysticks::~SDL_Joysticks()