sdl_event initialization