This question already has an answer here:

I'm now developing a mini game, using SDL. When I use SDL1.2, the keyboard input event signal is well-caught.

However, if I use SDL2.0, the keyboard input event signal doesn't seem to be caught.

Also, even if I exit the program somehow(ex. set 10s and terminate) now the keyboard doesn't work at all.

Is it a bug in SDL2?

marked as duplicate by goldilocks Jan 11 '16 at 2:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I just now ran into this same issue. I guess it's time to pay a visit to the SDL bug tracker. – TheBuzzSaw Jan 11 '16 at 2:32
  • Hi. Same problem. There is any update? – Paulo Coutinho Mar 27 at 20:31

Browse other questions tagged or ask your own question.