Exemplo n.º 1
0
 public void InitializeInput()
 {
     // Initialize all controllers to blank
     joypad1        = new BlankJoypad();
     joypad2        = new BlankJoypad();
     joypad3        = new BlankJoypad();
     joypad4        = new BlankJoypad();
     zapper         = new BlankZapper();
     VSUnisystemDIP = new BlankVSUnisystemDIP();
 }
Exemplo n.º 2
0
 public 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();
     }
 }