Exemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="fwdPort"></param>
        public JoystickUI(gc.GameControllerOperations fwdPort)
        {
            _fwdPort = fwdPort;

            InitializeComponent();

            DrawJoystick(0, 0);
        }
        Form StartForm()
        {
            gc.GameControllerOperations fwdPort = ServiceForwarder <gc.GameControllerOperations>(ServiceInfo.Service);

            return(new JoystickUI(fwdPort));
        }