I thought I'd share my success in getting "events" to do useful things
in CDJ.
I have an Sony STR-815G receiver, CE515, CX240 and CX220.
The CX-220 is plugged into the CX240 which in turn is plugged
in the "DAT" input of the STR-815G. The CE515 is plugged into
the "CD" input of the 815G.
To set things up I added the appropriate device files under options/devices.
It wasn't obvious to me how to "name" the devices so I used a named derived
from the device file. So now I had a device called "ampsls" (AMPlifier SLink
Send).
You can test out the commands in the s-link viewer, for example typing
"ampsls:mute_on" in the command window and pressing send will mute the
amp.
Next thing I did was to edit options/events. I associated "ampsls:vol+",
"ampsls:vol-", "ampsls:mute_on", "ampsls:mute_off" with the obvious events.
What I really wanted to do was to have CDJ switch to the amplifier to the
appropriate input. There was a command "ampsls:input", I looked in
the "sonyampsls.cde" file for hints on how pass parameters. I tried
the example values in the file, I only succeed in getting the amp
to switch the radio tuner for input. I did a little more experimenting
and stumbled upon the right thing. "ampsls:input[2]" switches to the
"CD" input and "ampsls:input[3]" switches to "DAT" input (which has
my 200 CD changers). I now mapped the "CD 1", "CD 2" and "CD 3" events
to switch the amp to the appropriate input.
Now if CDJ starts a CD playing the right input gets selected.