Skip to content

Commit 9980e64

Browse files
committed
feat(midi/device-profiles): remove daw mode from novation launch control 3xl profile
1 parent 7720a2c commit 9980e64

File tree

3 files changed

+9
-57
lines changed

3 files changed

+9
-57
lines changed

crates/components/connections/protocols/midi/device-profiles/profiles/novation-launch-control-3xl/outputs.rhai

Lines changed: 0 additions & 46 deletions
This file was deleted.

crates/components/connections/protocols/midi/device-profiles/profiles/novation-launch-control-3xl/pages.rhai

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ fn fader(id) {
44
.input()
55
.channel(16)
66
.cc(4 + id)
7+
.resolution_14_bit()
78
}
89

910
fn faders() {
1011
let group = create_group("Faders");
11-
for fader_index in range(1, 8) {
12+
for fader_index in range(1, 9) {
1213
group.add(fader(fader_index));
1314
}
1415

@@ -21,14 +22,12 @@ fn knob(base, id) {
2122
.input()
2223
.cc(4 + base + id)
2324
.channel(16)
24-
//.resolution_14_bit()
25-
.output()
26-
.rgb("write_rgb")
25+
.resolution_14_bit()
2726
}
2827

2928
fn knobs(row_index) {
3029
let group = create_group("Knobs Row " + row_index);
31-
for idx in range(1, 8) {
30+
for idx in range(1, 9) {
3231
group.add(knob(row_index * 8, idx));
3332
}
3433

@@ -39,13 +38,13 @@ fn button(name, note) {
3938
control(name)
4039
.id("button-" + note)
4140
.input()
42-
.cc(note)
41+
.note(note)
42+
.channel(16)
4343
.output()
4444
}
4545

4646
fn channel_button(base, id) {
4747
button("Button " + id, (base + id))
48-
.rgb("write_rgb")
4948
}
5049

5150
fn buttons(base, row_index) {
@@ -81,9 +80,9 @@ fn generate_page() {
8180
page += knobs(1);
8281
page += knobs(2);
8382
page += knobs(3);
84-
page += buttons(36, 1);
85-
page += buttons(44, 2);
86-
page += playback_toolbar();
83+
page += buttons(59, 1);
84+
page += buttons(71, 2);
85+
// page += playback_toolbar();
8786
// page += buttons(59, 1);
8887
// page += buttons(71, 2);
8988

crates/components/connections/protocols/midi/device-profiles/profiles/novation-launch-control-3xl/profile.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ name: Launch Control 3XL
44
keyword: LCXL3
55
scripts:
66
pages: pages.rhai
7-
outputs: outputs.rhai

0 commit comments

Comments
 (0)