You can't "make" discrete codes. The device either has (& will understand) them or not.
There has also been discussion on using an X-10 Module to switch the power supply on & off, but when the PS2 is switched on it seems to go into a "
sleep mode" or something that still requires a physical button push to get it going . . . so that option is out as well.