This cheat doesn’t work with a controller by default but if you use a program like Xpadder, you’ll be able to make it work.