Skip to main content

Conditions and modifiers

With conditions and modifiers, one control on your MIDI controller can do different things, for example depending on whether a Shift button is held down. Set them up in the MIDI mapping window. Find out more in Mapping a MIDI device.

A condition makes a mapping work only some of the time. For example, you can use one button to switch another button between two jobs.

Conditions work with modifiers. A modifier is a value with a name, such as modifier5, that djay Pro keeps track of. A button can change it, and a condition checks it.

Click Show Modifiers to see each modifier and its value. Built-in mappings already use some of them, so choose one that's at 0 and that your mapping doesn't use yet.

The Modifiers window, listing each modifier and its value

Example: one button that switches between two actions

In this example, one button works as an on/off switch. While it's off, a second button lowers the key on Deck 1. While it's on, the second button raises the key instead.

  1. Set up the switch. Press the button you want to use as the switch, so it's added to the table. Choose the General target and the Set Modifier (Hold/Toggle) action, and leave its Condition empty. Under the advanced control options:
    • Set the button mode, next to Control Type, to Toggle, so each press switches it on or off.
    • Set Modifier Name to modifier5.
    • Set Modifier Value (On) to 1 and Modifier Value (Off) to 0.
  2. Map the second button to raise the key. Press the second button, choose Deck 1 and Key +, and type modifier5 == 1 in the Condition field.
  3. Map the same button to lower the key. Control-click its row and choose Duplicate Mapping for Control. In the new row, choose Key - and type modifier5 == 0 in the Condition field.

The three mappings for the example, with the switch selected and its advanced control options: Toggle, modifier5, On value 1 and Off value 0

The condition that's true right now is shown in bold in the table, and a green dot next to the Condition field shows it for the selected row. Press the switch and watch the bold move from one row to the other.

To make the switch work only while you hold it down, like a Shift button, choose Hold instead of Toggle.

note

Make sure the switch's own mapping has no condition. Also set both Modifier Value (On) and Modifier Value (Off). If the off value is empty, the modifier doesn't go back to 0, and neither condition matches.

Other uses for conditions include a layer button that switches the same controls between Decks 1–2 and Decks 3–4, or a second set of functions for the pads.

To combine conditions, join them with &&, for example modifier3 == 0 && modifier5 == 1. The mapping then only works when both are true.

InstagramYouTubeFacebookX
Copyright © 2026 Algoriddim GmbH. • All rights reserved • Imprint • Privacy Policy