This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11280 - Cygwin and mingw sims don't respond to keypresses
Attached to Project:
Rockbox
Opened by Frank Gevaerts (fg) - Sunday, 16 May 2010, 19:45 GMT+2
Last edited by Thomas Martitz (kugel.) - Monday, 17 May 2010, 19:20 GMT+2
Opened by Frank Gevaerts (fg) - Sunday, 16 May 2010, 19:45 GMT+2
Last edited by Thomas Martitz (kugel.) - Monday, 17 May 2010, 19:20 GMT+2
|
DetailsSimulators built for cygwin or mingw don't respond to button presses anymore, presumably since r26065 (where SDL_WaitEvent() was replaced with SDL_PollEvent(), along with some threading changes).
This is reproducible using wine. |
This task depends upon
Closed by Thomas Martitz (kugel.)
Monday, 17 May 2010, 19:20 GMT+2
Reason for closing: Fixed
Additional comments about closing: r26113
Monday, 17 May 2010, 19:20 GMT+2
Reason for closing: Fixed
Additional comments about closing: r26113
It appears that on windows event polling needs to be done in the main thread. In fact, hacking a SDL_PollEvent() call into main.c makes me getting at least an event. I'll have a more deeply look later.