Ejemplo n.º 1
0
        void UpdateDevices()
        {
            munias = MuniaController.ListDevices().ToList();
            lbMuniaDevices.DataSource = munias;

            nspys = ArduinoController.ListDevices().ToList();
            lbNintendoSpyDevices.DataSource = nspys;

            generics = GenericController.ListDevices().ToList();
            lbGenericDevices.DataSource = generics;
        }
Ejemplo n.º 2
0
 public static void LoadControllers()
 {
     Controllers.Clear();
     foreach (var dev in MuniaController.ListDevices())
     {
         Controllers.Add(dev);
     }
     foreach (var dev in ArduinoControllerManager.ListDevices())
     {
         Controllers.Add(dev);
     }
 }
Ejemplo n.º 3
0
 public static void LoadControllers()
 {
     Controllers.Clear();
     foreach (var dev in MuniaController.ListDevices())
     {
         Controllers.Add(dev);
     }
     foreach (var dev in ArduinoController.ListDevices())
     {
         Controllers.Add(dev);
     }
     foreach (var dev in XInputController.ListDevices())
     {
         Controllers.Add(dev);
     }
     foreach (var dev in GenericController.ListDevices())
     {
         Controllers.Add(dev);
     }
     foreach (var dev in MappedController.ListDevices())
     {
         Controllers.Add(dev);
     }
 }
Ejemplo n.º 4
0
 public MainForm()
 {
     InitializeComponent();
     comboBox1.Items.AddRange(MuniaController.ListDevices().ToArray());
 }