From 8db0adbb48c91070cd14128daf6b498fe1d7125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Emonet?= <remi.emonet@reverse--com.heeere> Date: Fri, 22 Apr 2022 20:59:33 +0200 Subject: [PATCH] refactor: rename LP Mini to LP Mini Mk2 to avoid confusion with mk3 --- src/app/devices/known-devices/known-devices.ts | 4 ++-- ...ion-launchpad-mini.ts => novation-launchpad-mini-mk2.ts} | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/app/devices/known-devices/{novation-launchpad-mini.ts => novation-launchpad-mini-mk2.ts} (93%) diff --git a/src/app/devices/known-devices/known-devices.ts b/src/app/devices/known-devices/known-devices.ts index 79bfc98..32f5e48 100644 --- a/src/app/devices/known-devices/known-devices.ts +++ b/src/app/devices/known-devices/known-devices.ts @@ -1,7 +1,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 { novationLaunchpadMiniMk2 } from './novation-launchpad-mini-mk2'; import { novationLaunchpadMiniMk3 } from './novation-launchpad-mini-mk3'; /** @@ -10,6 +10,6 @@ import { novationLaunchpadMiniMk3 } from './novation-launchpad-mini-mk3'; export const knownDevices: (Selector | Controller)[] = [ novationLaunchpadX, novationLaunchControlXl, - novationLaunchpadMini, + novationLaunchpadMiniMk2, novationLaunchpadMiniMk3, ]; diff --git a/src/app/devices/known-devices/novation-launchpad-mini.ts b/src/app/devices/known-devices/novation-launchpad-mini-mk2.ts similarity index 93% rename from src/app/devices/known-devices/novation-launchpad-mini.ts rename to src/app/devices/known-devices/novation-launchpad-mini-mk2.ts index 9abee34..f2f3e8e 100644 --- a/src/app/devices/known-devices/novation-launchpad-mini.ts +++ b/src/app/devices/known-devices/novation-launchpad-mini-mk2.ts @@ -1,14 +1,14 @@ import { Selector, DeviceCategory } from '../device/device.types'; /** - * Novation Launchpad Mini + * Novation Launchpad Mini Mk2 * * @see http://leemans.ch/latex/doc_launchpad-programmers-reference.pdf */ -export const novationLaunchpadMini: Selector = { +export const novationLaunchpadMiniMk2: Selector = { category: DeviceCategory.selector, manufacturer: 'Focusrite A.E. Ltd', - name: 'Launchpad Mini', + name: 'Launchpad Mini MK2', channels: { input: 'all', output: 1,