Esempio n. 1
0
 // Constructor
 public ControllerCallbacks()
 {
     // out
     // nanoKontrol: 1
     // Launchpad: 3
     lpd = new Launchpad(MIDIs.Get(3));
 }
Esempio n. 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
            }
        }
Esempio n. 3
0
        // Constructor
        public ControllerCallbacks()
        {
            MIDIs.ListAll();
            lpd = new Launchpad(MIDIs.Get("MIDIOUT2"));

            Thread th = new Thread(SyncScreen);

            th.IsBackground = true;
            th.Start();
        }
Esempio n. 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();
        }