You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
I'm fresh to SDL. I met some problems with capturing events of joysticks when programming with different threads.
I found SDL_WaitEvent(&event) or SDL_PollEvent(&event) only works in main thread whereas failing to capture nothing when working in subthread.
could you please give me some advice about getting this problem solved.
many regards.
The text was updated successfully, but these errors were encountered:
hi,
I'm fresh to SDL. I met some problems with capturing events of joysticks when programming with different threads.
I found
SDL_WaitEvent(&event)
orSDL_PollEvent(&event)
only works in main thread whereas failing to capture nothing when working in subthread.could you please give me some advice about getting this problem solved.
many regards.
The text was updated successfully, but these errors were encountered: