Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement Launchpad Mini MK3 Support #13

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

lucemans
Copy link

@lucemans lucemans commented Dec 23, 2023

Implements #12

Furthermore

  • change_layout to change between Layout::Programmer and Layout::Live
  • default Layout::Programmer (like done in mk2 implementation) so no need to think about layout
  • support for novation button

@@ -28,7 +28,7 @@ fn decode_grid_button(btn: u8) -> Button {
pub struct Input;

impl crate::InputDevice for Input {
const MIDI_DEVICE_KEYWORD: &'static str = "Launchpad Mini";
const MIDI_DEVICE_KEYWORD: &'static str = "Launchpad Mini MIDI";
Copy link
Owner

@kangalio kangalio Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change? The MIDI device detection function (fn guess_port) does .contains() anyways, so a device called "Launchpad Mini MIDI" can be detected with MIDI_DEVICE_KEYWORD "Launchpad Mini" too. I tried to keep those keywords as generic as possible because MIDI device names are different between OSes - some OSes may append " MIDI" to MIDI device names, but other OSes may not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants