My PS4 Controller wouldn't work, but I used Joy2Key to have it interpreted as a keyboard and it works great. You can probably do the same thing with your PS2 controller and Joy2Key is free.
Got tutorial for it.