-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for launchpad mini mk3 (pretty much like X but smal…
…ler)
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/app/devices/known-devices/novation-launchpad-mini-mk3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Selector, DeviceCategory } from '../device/device.types'; | ||
import { novationLaunchpadX } from './novation-launchpad-x'; | ||
|
||
/** | ||
* Novation Launchpad Mini Mk3 | ||
* | ||
* @see Novation resources https://downloads.novationmusic.com/novation/launchpad-mk3/launchpad-mini-mk3-0 | ||
*/ | ||
export const novationLaunchpadMiniMk3 = { | ||
...novationLaunchpadX, // shallow copy but it is probably not meant to be mutated anyway | ||
name: 'Launchpad Mini MK3', // https://github.com/rienheuver/launchpad-mini-mk3/blob/master/index.js#L7 , mine is 'Launchpad Mini MK3 LPMiniMK3 MI' | ||
get bootSequence () { | ||
return { | ||
color: novationLaunchpadX.colors.red, | ||
sysex: { | ||
manufacturer: 0, | ||
data: [32, 41, 2, 13, 14, 1], // https://github.com/FMMT666/launchpad.py/blob/master/launchpad_py/launchpad.py#L2375 | ||
}, | ||
}; | ||
}, | ||
} as Selector; |