예제 #1
0
 public static uint GetInputPort()
 {
     return(MidiInput.FindPortByName("Launch Control XL"));
 }
예제 #2
0
 /// <summary>
 /// Get Input port based on the type of Launchpad
 /// </summary>
 /// <param name="state"> the type of port to look for in the launchpad pro. </param>
 /// <returns>device port based on the type of state, MIDIINERROR if the launchpad was not found. </returns>
 public static uint GetInputPort(LaunchpadProState state)
 {
     return(MidiInput.FindPortByName(StateToNameInput(state)));
 }