Skip to content

Denon MC7000: Unify parameter button logic and add customizable modes#13589

Merged
Swiftb0y merged 9 commits into
mixxxdj:2.5from
fwcd:mc7000-parameter-buttons
Sep 6, 2024
Merged

Denon MC7000: Unify parameter button logic and add customizable modes#13589
Swiftb0y merged 9 commits into
mixxxdj:2.5from
fwcd:mc7000-parameter-buttons

Conversation

@fwcd
Copy link
Copy Markdown
Member

@fwcd fwcd commented Aug 22, 2024

This is a rebased version of #4310, which aims to refactor the logic for the customizable parameter buttons on the Denon MC7000. Currently, the buttons change the star rating (track color if shifted), but some users rarely change these and would rather wish to map them differently.

Fortunately, the new controller settings feature lets us have our cake and it eat it too. This PR unifies the parameter button, refactors the code to be more concise/readable and adds three new parameter button modes:

Mode Description
Change Star Rating (Shift: Track Color) The current and default mode
Perform Beat Jump (Shift: Adjust Jump Size) The logic from the previous PR
Set Intro/Outro (Shift: Clear Intro/Outro) A new mode that sets/clears intro-end/outro-start

image

This PR also lets the user customize whether to override the parameter button mode with changing the pitch range. This is the default behavior as of #4729, which might be surprising to users that change the mode, hence the ability to disable it.

Comment thread res/controllers/Denon-MC7000-scripts.js Outdated
Copy link
Copy Markdown
Member

@Swiftb0y Swiftb0y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

Comment thread res/controllers/Denon-MC7000-scripts.js
@fwcd fwcd mentioned this pull request Aug 22, 2024
@fwcd fwcd force-pushed the mc7000-parameter-buttons branch from 9f507c1 to 590edda Compare August 30, 2024 23:57
@fwcd
Copy link
Copy Markdown
Member Author

fwcd commented Aug 31, 2024

The branch is now rebased onto the latest 2.5 and the conflict from #13588 is fixed.

Comment thread res/controllers/Denon-MC7000.midi.xml
Copy link
Copy Markdown
Member

@Swiftb0y Swiftb0y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thank you. Sorry for having this dragged out this long

@Swiftb0y Swiftb0y merged commit f815d00 into mixxxdj:2.5 Sep 6, 2024
@fwcd fwcd deleted the mc7000-parameter-buttons branch September 6, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants