Xbox controller event playback Grab and print the button clicked with this position Output example JOY 1: X 35636 Y 32256 JOY 1: X 35636 Y 32162 JOY 1: X 35636 Y 32067 B hold B released Y hold Y released Left button Left released