From ed74a4fc83cc6c03a4e26dc4e9821c710f693e7c Mon Sep 17 00:00:00 2001 From: uvos Date: Tue, 22 Feb 2022 14:51:54 +0100 Subject: [PATCH] lower js poll rate --- src/jsbackend/SDL_Joysticks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsbackend/SDL_Joysticks.cpp b/src/jsbackend/SDL_Joysticks.cpp index 4b2bdd0..b78c4ef 100644 --- a/src/jsbackend/SDL_Joysticks.cpp +++ b/src/jsbackend/SDL_Joysticks.cpp @@ -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()