Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category User Interface → Simulator
  • Assigned To
    kugel.
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by fg - 2010-05-16
Last edited by kugel. - 2010-05-17

FS#11280 - Cygwin and mingw sims don't respond to keypresses

Simulators 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.

Closed by  kugel.
2010-05-17 17:20
Reason for closing:  Fixed
Additional comments about closing:  

r26113

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2004-August/045410.html seems to be the same problem.

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing