The sequence is: press X then O for one second, then do X and O again. That's the input for the flying glitch.