Add sdl events source.