Exemple #1
0
 public HardwareInterface(NintendoController controller) : base(controller)
 {
     command = controller.GetCommands();
     spi     = controller.GetSPI();
 }
Exemple #2
0
 public ConfigurationInterface(NintendoController controller) : base(controller)
 {
     this.joystick = controller.GetController();
     spi           = controller.GetSPI();
     hardware      = controller.GetHardware();
 }