Skip to content

Commit

Permalink
Merge pull request #17 from MrPatben8/Reverse-with-SHIFT+FLUX
Browse files Browse the repository at this point in the history
Added Flux Reverse to D2/S5/S8. Press and hold SHIFT+FLUX.
  • Loading branch information
kokernutz authored Nov 22, 2018
2 parents bd501f7 + acd86c9 commit 027db43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Browser: Gauges for Key/BPM match (toggle in prefs)
- Browser: Display 7 or 9 items on screen (toggle in prefs)
- Deck: Cycle through MixerFX on S5 by pressing SHIFT + FILTER-ON/OFF
- Deck: Press SHIFT + FLUX to engage flux reverse
- Deck: Layout more closely resembles main Traktor layout
- Deck: All 9 data elements are configurable (set it prefs)
- Deck: Spectrum colors (toggle in prefs)
Expand Down
12 changes: 8 additions & 4 deletions qml/CSI/Common/Deck_S8Style.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4093,7 +4093,8 @@ Module

enabled: (focusedDeckId == 1) && (hasTransport(deckAType))

Wire { from: "%surface%.flux"; to: "decks.1.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.1.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.1.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -4151,7 +4152,8 @@ Module

enabled: (focusedDeckId == 2) && (hasTransport(deckBType))

Wire { from: "%surface%.flux"; to: "decks.2.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.2.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.2.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -4209,7 +4211,8 @@ Module

enabled: (focusedDeckId == 3) && (hasTransport(deckCType))

Wire { from: "%surface%.flux"; to: "decks.3.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.3.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.3.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -4267,7 +4270,8 @@ Module

enabled: (focusedDeckId == 4) && (hasTransport(deckDType))

Wire { from: "%surface%.flux"; to: "decks.4.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.4.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.4.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down
12 changes: 8 additions & 4 deletions qml/CSI/S5/S5Deck.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3746,7 +3746,8 @@ Module

enabled: (focusedDeckId == 1) && (hasTransport(deckAType))

Wire { from: "%surface%.flux"; to: "decks.1.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.1.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.1.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -3804,7 +3805,8 @@ Module

enabled: (focusedDeckId == 2) && (hasTransport(deckBType))

Wire { from: "%surface%.flux"; to: "decks.2.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.2.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.2.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -3862,7 +3864,8 @@ Module

enabled: (focusedDeckId == 3) && (hasTransport(deckCType))

Wire { from: "%surface%.flux"; to: "decks.3.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.3.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.3.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down Expand Up @@ -3920,7 +3923,8 @@ Module

enabled: (focusedDeckId == 4) && (hasTransport(deckDType))

Wire { from: "%surface%.flux"; to: "decks.4.transport.flux" }
Wire { from: "%surface%.flux"; to: "decks.4.transport.flux" ; enabled: !module.shift}
Wire { from: "%surface%.flux"; to: "decks.4.transport.flux_reverse" ; enabled: module.shift}

WiresGroup
{
Expand Down

0 comments on commit 027db43

Please sign in to comment.