public ControllerInterface(NintendoController controller) : base(controller)
 {
     type = controller.GetHardware().GetControllerType();
     CreateJoystick();
 }
Пример #2
0
 public ConfigurationInterface(NintendoController controller) : base(controller)
 {
     this.joystick = controller.GetController();
     spi           = controller.GetSPI();
     hardware      = controller.GetHardware();
 }