Пример #1
0
 // Constructor
 public ControllerCallbacks()
 {
     // out
     // nanoKontrol: 1
     // Launchpad: 3
     lpd = new Launchpad(MIDIs.Get(3));
 }
Пример #2
0
        // Constructor
        public ControllerCallbacks()
        {
            Logger.Log("Profile Running.");

            // Load Launchpad (Helper class) from MIDIout#2
            if (MIDIs.Get(2) != null)
            {
                lpd = new Launchpad(MIDIs.Get(2));                      // lame but the only pain
            }
        }
Пример #3
0
        // Constructor
        public ControllerCallbacks()
        {
            MIDIs.ListAll();
            lpd = new Launchpad(MIDIs.Get("MIDIOUT2"));

            Thread th = new Thread(SyncScreen);

            th.IsBackground = true;
            th.Start();
        }
Пример #4
0
        // Constructor
        public ControllerCallbacks()
        {
            Logger.Log("Profile Running");

            Keyboard.FullScanCodeMode = true;   // virtual key codes might not works to some game settings, so scan mode instead.

            if (MIDIs.Get(2) != null)
            {
                lpd = new Launchpad(MIDIs.Get(2));                     // lame but the only pain
            }
            Thread th = new Thread(Shift);

            th.IsBackground = true;
            th.Start();
        }