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

Maschine mk2 (not mikro) support #6

Open
monomadic opened this issue Jul 29, 2020 · 2 comments
Open

Maschine mk2 (not mikro) support #6

monomadic opened this issue Jul 29, 2020 · 2 comments

Comments

@monomadic
Copy link

monomadic commented Jul 29, 2020

Trying to use this with a regular maschine mk2. It kind of works, but I have to tweak the code a bit and a lot of buttons aren't supported.

I'm thinking of extending the lib to add support, should I just add a device in the devices module or is this ground that has already been walked?

@monomadic monomadic changed the title Maschine mkII (not mikro) Maschine mk2 (not mikro) support Jul 29, 2020
@wrl
Copy link
Owner

wrl commented Jul 29, 2020

You'll want to add a device in the devices module but also add whatever buttons you need here in the base module too.

As for switching between device types, just hardcode that or add a command-line flag for it or something for the time being. "Proper" support would involve looking at the USB vid/pid, which means bringing in sysfs or libudev, and that's just not necessary to start.

Note that the debounce algo for the pads is pretty awful right now, so maschine.rs doesn't actually feel great to play, but this is on my to-do list.

@wrl
Copy link
Owner

wrl commented Jul 29, 2020

You may also want to modify the base Maschine trait and add idx parameters to the screen functions.

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

No branches or pull requests

2 participants