SDL events getting delayed



  • I've got a fairly complex application in which I use SDL to get input from a joystick. The application can launch a QThread operation. What I'm finding is that if that QThread isn't running, the joystick works great. But when that QThread is running, events to the joystick are being delayed i.e. SDL_PollEvent doesn't see physical joystick movement for several seconds particularly if there is a lot of joystick movement going on. The joystick events are being queued up.

    Does anyone know why Qt's event system might be bogging down SDL's event system? (And FYI, QGamepad doesn't see this particular joystick :-( )


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.