diff options
author | Christian <git-developer@users.noreply.github.com> | 2020-11-25 06:08:47 +0100 |
---|---|---|
committer | Christian <git-developer@users.noreply.github.com> | 2020-11-25 06:08:47 +0100 |
commit | 1bf71d711974af1690d6bcd136e6d681a1548d46 (patch) | |
tree | 04392023646ab154637ef8acf4fd137b69630112 | |
parent | d848e24e68ece83ea82d24f281a627025c40f77d (diff) |
chore(BCR2000): add key and group for shift button
This is not strictly necessary for shift handling but avoids binding to an undefined mixxx control.
This reverts commit 612e45625f8131f20de372aa29bd51c944e500bc.
-rw-r--r-- | res/controllers/Behringer-BCR2000-scripts.js | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/res/controllers/Behringer-BCR2000-scripts.js b/res/controllers/Behringer-BCR2000-scripts.js index eeda04ccc8..db6a54d130 100644 --- a/res/controllers/Behringer-BCR2000-scripts.js +++ b/res/controllers/Behringer-BCR2000-scripts.js @@ -25,7 +25,13 @@ var BCR2000 = new components.extension.GenericMidiController({ deckNumbers: [1], components: [ { - type: e.ShiftButton, options: {midi: [cc, p.buttonRow1[3]], target: this} + type: e.ShiftButton, options: + { + midi: [cc, p.buttonRow1[3]], + group: "[Controls]", + key: "touch_shift", + target: this + } }, { type: e.RangeAwareEncoder, options: { @@ -97,7 +103,13 @@ var BCR2000 = new components.extension.GenericMidiController({ deckNumbers: [2], components: [ { - type: e.ShiftButton, options: {midi: [cc, p.buttonRow1[7]], target: this} + type: e.ShiftButton, options: + { + midi: [cc, p.buttonRow1[7]], + group: "[Controls]", + key: "touch_shift", + target: this + } }, { type: e.RangeAwareEncoder, options: { |