Granjow / launchpad-mini

Node.js library for the Novation Launchpad Mini
145 stars 25 forks source link

Launchpad X supported? #10

Open mountaindude opened 3 years ago

mountaindude commented 3 years ago

I guess the answer is no at this point, still wanted to check.

A quick test gives this: The rightmost 4 buttons in the top row are detected by this lib, all other buttons don't give any events. Color/lighting control of the buttons doesn't work at all.

Might give it a spin.. either as a fork for the Launchpad X or for this lib. If there's time... :)

mountaindude commented 3 years ago

Oh, it seems the issue is upstream in https://github.com/justinlatimer/node-midi

Their demo program also only responds to the same 4 buttons when connecting a Launchpad X.

mountaindude commented 3 years ago

Huh, after approving the Midi driver in Chrome (I am on macOS, btw) and then starting the demo program from this repo, all buttons are detected.

Backlight control is still non-functional though. Maybe not surprising as the mk2 and mk3/X devices are quite different in that respect.

Granjow commented 3 years ago

Hi @mountaindude – yes, the different launchpads use different protocols and also have some individual features. It would be nice to add support for more launchpad versions though behind a common interface.

I started a TypeScript port a while ago on a branch. If you decide to work on it, you may want to check it. Would love to spend some time on that too, but time is too limited atm :)