I'm using Arduino Micro with MIDIUSB library, which has noteOn/noteOff and ControlChange commands, followed by the parameters - channel, pitch velocity / channel, control, value.
Also using a Keyboard library which allows me to use '-' and '=' shortcuts in Lr to increase/decrease a slider, instead of MIDI commands, but those also will only work if I can get the sliders selected.
I noticed that when I press the button to select a slider, it actually returns the name of the Slider, the max value it can have, and the current value. If I click the button with the MIDI code I tied with Basic Tone> Exposure, for example, it will return Exposure 5.00 0.00. Notice that it does not change the slider value itself.
So I tried moving numbers a bit and found that the max value is relative to note velocity or ControlChange value. If I have them on 127, they will return the max posible value, like the image above, and if decrease them, they will return proportional values. If I use 64, it will only show the current value - i presume it treats the first value as 0 and then doesn't bother to show it. I tried some values and none did in fact select the slider.
I wonder what use could a command like that have in Lightroom. A button that you press just to know the value of a parameter? Like you press a shortcut and it will show how many steps up you have your Exposure set to? Sounds weird to me, so I guess I'm almost there...
As a side note, it's crazy that there are so many useless native shortcuts in the app, and there are no ways to quick select the development parameters you use the most! (unless I'm wrong and those shortcuts do exist!!)
Anyways, I'll bring more info if I find anything else.
Thanks!!