Using
10 PRINT PAD(0),PAD(1), PAD(2)
20 GOTO 10
I tried 3:
PS 1 SCPH-1080 - Origional Playstation controller -didn't read at all (tried 2)
PS1 SCPH-1200 - Second version of PS joystick with thumb sticks - reads but hangs if it's in analog mode.
PS 2 SCPH 10010 - Duelshock 2 - reads but hangs if it's in analog mode.
You have to connected the controler before you run the program. If its plugged in while it is, it doesn't read. Pressing the analog button on the controller while the program is running will hang the computer. If the controler is set to analog before the program is run, it will stall after line 10. Pressing the analog again while it's hung up doesn't change the mode back. The hang only clears if the the controller is disconnected.