push input into sdleventloop