I've had some trouble with this too. It looks like it's not catching any keypresses at all. This might be because SDL events are linked to SDL_Video, which you haven't SDL_Init-ed.

I'm not completely certain, but I think SDL can only catch events if a screen (window) created by SDL currently has input focus.