Skip to content

qluana7/LaunchpadControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launchpad User Control for WPF

About

this is launchpad user control for wpf.

It contains follow functions

  • ButtonPress Event
  • Move, Mode, Chain, Mixer, Function ButtonPress Event
  • MultiSelect (Drag and Press)
  • Input and Output Methods
  • Note, Control On, Off
  • Button Size, Style (Currently fixing)
  • Press Color and Board Color

Launchpad Size : MK2 = (340, 340) / Pro = (380, 380)

Require

C# Version

  • Net5.0 wpf (Netframwork version will add later)

Nugets

How to use

Add library to use control

xmlns:lp="clr-namespace:Launchpad;assembly=LaunchpadLib"

<lp:Launchpad_Pro x:Name="LpPro" ButtonPressed="LpPro_ButtonPressed"
                  ShowPressed="False"/>
// Received as RoutedEventArgs and converted to ButtonPressedEventArgs
private void LpPro_ButtonPressed(object sender, RoutedEventArgs e)
{
    var er = e as ButtonPressEventArgs;
    
    // Require connect midi
    // See https://github.com/Lukince/LaunchpadColor for color value
    lp.NotePress(er.PressedLocation, TimeSpan.FromSeconds(2), 3);
}
  • Preview


Quality Broken :( I will fix later

Reference

Velocity Color Value for Launchpad