Skip to content

Commit

Permalink
Merge pull request #71 from dszakallas/launchcontrol
Browse files Browse the repository at this point in the history
feat: Add LaunchControl XL support
  • Loading branch information
dszakallas committed Jun 23, 2023
2 parents 2d7914f + 348cc39 commit 2b6d37c
Show file tree
Hide file tree
Showing 84 changed files with 8,958 additions and 1,645 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ plugins:
rules:
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }]
no-warning-comments: warn
'@typescript-eslint/no-inferrable-types': 'off'
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1.4
ARG WORKDIR=/mixxx-launchpad
ARG UID=65532

Expand All @@ -11,11 +12,9 @@ COPY <<-EOF $WORKDIR/.npmrc
cache=$WORKDIR/.npm
EOF
COPY package.json package-lock.json .
COPY packages/mixxx/package.json packages/mixxx/package.json
COPY packages/app/package.json packages/app/package.json
COPY packages/mk1/package.json packages/mk1/package.json
COPY packages/mk2/package.json packages/mk2/package.json
COPY packages/mini-mk3/package.json packages/mini-mk3/package.json
RUN --mount=type=bind,target=/docker-context \
cd /docker-context/; \
find . -name "package.json" -mindepth 3 -maxdepth 3 -exec cp --parents "{}" $WORKDIR/ \;
RUN --mount=type=cache,target=$WORKDIR/.npm,uid=$UID npm ci

FROM deps as build
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ builddir ?= ./dist
version ?= $(shell jq -r .version package.json)

scriptFiles = $(shell ls packages/*/!(node_modules)/**/*.ts)
#scriptFiles = $(shell find . -name 'controller.json' -or -name '*.ts' -not -path "*/dist/*" -not -path "*/node_modules/*" -print | cut -d/ -f2- | xargs)
mappingFiles = $(package) packages/$(1)/controller.json scripts/template.xml.ejs

targets := $(shell jq -r '.controllers | join (" ")' package.json)
Expand Down
16 changes: 14 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# mixxx-launchpad
# mixxx-launch

Flexible and customizable controller mapping for Novation Launchpad family of controllers.
Flexible and customizable controller mapping for Novation Launch[Pad|Control] family of controllers.

[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/dszakallas/mixxx-launchpad)](https://github.com/dszakallas/mixxx-launchpad/releases/latest) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dszakallas/mixxx-launchpad/Test%20&%20Release) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ![License](https://img.shields.io/github/license/dszakallas/mixxx-launchpad)

Expand All @@ -23,6 +23,18 @@ Flexible and customizable controller mapping for Novation Launchpad family of co
- Launchpad Mini Mk3
- Launchpad Mk2
- Launchpad Mk1
- LaunchControl XL MK2 (experimental)

## Controller setup instructions

### Launchpad Mini Mk3

Mini Mk3 has to be put in "Programmer" mode to get MIDI access to all 9x9 instead of only inner 8x8 in "Live" mode. Push and hold "Session" for about a second, "LED" screen shows up, then push "Stop Solo Mute" button, "Programmer" shows up.

### LaunchControl XL MK2

Support is experimental, under active development and any existing mapping may change in future versions. Feedback
and PRs are welcome.

## How to get started

Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
targets: 'node 10.0',
presets: ['@babel/preset-typescript', ['@babel/preset-env', { modules: false }]],
plugins: [
['@babel/plugin-transform-arrow-functions'], // FIXME work around Qt bug in arrow functions https://bugreports.qt.io/browse/QTBUG-95677
['@babel/plugin-transform-arrow-functions'], // work around Qt bug in arrow functions https://bugreports.qt.io/browse/QTBUG-95677
['@babel/plugin-transform-runtime', { corejs: 3, regenerator: false, absoluteRuntime: true }],
],
}
1 change: 0 additions & 1 deletion blogpost
Submodule blogpost deleted from b5032e
Loading

0 comments on commit 2b6d37c

Please sign in to comment.