Exemple #1
0
        static void Main(string[] args)
        {
            ControllerInput      CI  = new ControllerInput(UserIndex.One);
            ControllerDataSender CDS = new ControllerDataSender(CI);

            while (true)
            {
                CI.Update();
                CDS.Update();
                CDS.Send();
                Thread.Sleep(100);
            }
        }
        static void Main(string[] args)
        {
            ControllerInput CI  = new ControllerInput(UserIndex.One);
            ControllerDataSender CDS = new ControllerDataSender(CI);
            while (true)
            {

                CI.Update();
                CDS.Update();
                CDS.Send();
                Thread.Sleep(100);
            }
        }