sdl2: restore keyboard input