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. Built-in mappings already use some modifiers, so choose one that your mapping doesn't use yet.

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.
    • Choose modifier5 from the Modifier Name menu.
    • 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. Right-click its row and choose Duplicate Mapping for Control. In the new row, choose Key - and type modifier5 == 0 in the Condition field.

The switch mapping selected, with the General target and the Set Modifier (Hold/Toggle) action, the Key + mapping below it, and the advanced control options: Button, Toggle, modifier5, On value 1 and Off value 0

A green dot next to the Condition field shows when the condition for the selected row is true. Press the switch and select each row to check.

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