-
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.
Merge pull request #20 from twitwi/master
- Loading branch information
Showing
3 changed files
with
31 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { Controller, Selector } from '../device/device.types'; | ||
import { novationLaunchpadX } from './novation-launchpad-x'; | ||
import { novationLaunchControlXl } from './novation-launch-control-xl'; | ||
import { novationLaunchpadMini } from './novation-launchpad-mini'; | ||
import { novationLaunchpadMiniMk2 } from './novation-launchpad-mini-mk2'; | ||
import { novationLaunchpadMiniMk3 } from './novation-launchpad-mini-mk3'; | ||
|
||
/** | ||
* List of known devices. | ||
*/ | ||
export const knownDevices: (Selector | Controller)[] = [ | ||
novationLaunchpadX, | ||
novationLaunchControlXl, | ||
novationLaunchpadMini, | ||
novationLaunchpadMiniMk2, | ||
novationLaunchpadMiniMk3, | ||
]; |
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; |