diff --git a/src/app/devices/known-devices/known-devices.ts b/src/app/devices/known-devices/known-devices.ts index 2e19415..79bfc98 100644 --- a/src/app/devices/known-devices/known-devices.ts +++ b/src/app/devices/known-devices/known-devices.ts @@ -2,6 +2,7 @@ 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 { novationLaunchpadMiniMk3 } from './novation-launchpad-mini-mk3'; /** * List of known devices. @@ -10,4 +11,5 @@ export const knownDevices: (Selector | Controller)[] = [ novationLaunchpadX, novationLaunchControlXl, novationLaunchpadMini, + novationLaunchpadMiniMk3, ]; diff --git a/src/app/devices/known-devices/novation-launchpad-mini-mk3.ts b/src/app/devices/known-devices/novation-launchpad-mini-mk3.ts new file mode 100644 index 0000000..60b5780 --- /dev/null +++ b/src/app/devices/known-devices/novation-launchpad-mini-mk3.ts @@ -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;