Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. SDL events getting delayed
Forum Updated to NodeBB v4.3 + New Features

SDL events getting delayed

Scheduled Pinned Locked Moved Unsolved Game Development
sdl2
1 Posts 1 Posters 649 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RogueWarrior
    wrote on 2 May 2018, 21:50 last edited by
    #1

    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 :-( )

    1 Reply Last reply
    0

    1/1

    2 May 2018, 21:50

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved