Added function for detecting numpads

This commit is contained in:
juliagoda
2018-04-08 18:40:29 +02:00
parent bb5d2a132e
commit c824674233
18 changed files with 234 additions and 81 deletions

View File

@@ -56,7 +56,7 @@ InputDaemon::InputDaemon(QMap<SDL_JoystickID, InputDevice*> *joysticks,
sdlWorkerThread = nullptr;
if (graphical)
{
sdlWorkerThread = new QThread();
sdlWorkerThread = new QThread;
eventWorker->moveToThread(sdlWorkerThread);
}