Characterising memory in infinite games (Logical Methods in Computer Science, 2025)