lower js poll rate
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user