public ControllerInterface(NintendoController controller) : base(controller) { type = controller.GetHardware().GetControllerType(); CreateJoystick(); }
public ConfigurationInterface(NintendoController controller) : base(controller) { this.joystick = controller.GetController(); spi = controller.GetSPI(); hardware = controller.GetHardware(); }