Example #1
0
 private static void InputInitialize()
 {
     // Initialize all controllers to blank
     joypad1 = new BlankJoypad();
     joypad2 = new BlankJoypad();
     joypad3 = new BlankJoypad();
     joypad4 = new BlankJoypad();
     zapper = new BlankZapper();
     VSUnisystemDIP = new BlankVSUnisystemDIP();
 }
Example #2
0
 public static void SetupJoypads(IJoypadConnecter joy1, IJoypadConnecter joy2, IJoypadConnecter joy3, IJoypadConnecter joy4)
 {
     joypad1 = joy1;
     joypad2 = joy2;
     joypad3 = joy3;
     joypad4 = joy4;
     if (joypad1 == null)
         joypad1 = new BlankJoypad();
     if (joypad2 == null)
         joypad2 = new BlankJoypad();
     if (joypad3 == null)
         joypad3 = new BlankJoypad();
     if (joypad4 == null)
         joypad4 = new BlankJoypad();
 }