It is very difficult to give a concise description because there are a number of problems in the Lightroom implementation that make this a simple task.
In Lightroom you have modules: Library, Develop, Map, Book, etc. MIDI2LR can be notified when you use the mouse to change to a module so that it is able to tell the MIDI2LR server to load the profile file assigned in the options for that module. This is what is specified in the module section.
In the Develop modules there are panels and tools. LR can tell MIDI2LR when a tool is selected so that it can inform the MIDI2LR server to load the corresponding profile. With tools it is important to understand that not selecting a tool (crop, brush, gradient...) means that the loupe tool will be selected.
Panels is a problem because LR does not send a notification when a panel is selected, but MIDI2LR can load a profile it the change to a module is caused by an action with MIDI2LR. What this means is that there will be no profile change if you use the mouse to select a panel.
What is important to know for my settings:
- template.xml is a dummy
- develop.xml has all development controls and a button to change the color adjustments panel (causes profile change)
- every tool, except red-eye, has a specific profile.
- HSL_Hue.xml is the first of three profiles (HSL_Sat, HSL_Lum) that can be activated with a button, the reason being the LR can not notify that one of the options in the panel is selected.
- Transform.xml is a dummy.
Important to know: LR can tell MIDI2LR when a module or a tool is selected by the user, but it does not do this with panels,
for panels the profile will only be changed when MIDI2LR notices a change caused by an event (encoder, button).