Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.EnableMappedEvents method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disabled the possibility for the container application to receive specific events for buttons and range controls.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiDjConsole.EnableMappedEvents (

bEnable as enumBoolean

)


 

[C++]

void control.MidiDjConsole.EnableMappedEvents (

short bEnable

);


 

Parameter

Description

 

 

bEnable

Boolean value that specifies if the container application will receive specific events for buttons and range controls.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

When a manual action (pressing of buttons, movement of sliders or jog wheels) is performed on a physical control on the DJ console, the container application is notified through the generic MidiDjConsoleEventUnmapped event also if the physical control has been mapped inside the DJ Console profile loaded into the instance of the control.

BOOL_TRUE (default)

1

When a manual action (pressing of buttons, movement of sliders or jog wheels) is performed on a physical control mapped inside the DJ Console profile loaded into the instance of the control, the container application is notified through a specific event:

MidiDjConsoleEventRangeMoved.event for range controls (sliders, jog wheels, rotary knobs, etc.)

 

 

Return value

 

None