hey neil,
if you're talking about using a control surface or other instrument controller with x2 the easiest way is this:
click the edit filter of the midi track
select cc11 if it shows up, if not click MIDI and select 11 in the value dropdown
click the automation lanes button to show automation
on the cc11 lane, right-click the value slider at the right and select "remote control"
in the popup, under channel messages, click on controller and type 11 in the box
make sure the midi channel is set correctly
enable automation write for the envelope
this will capture cc11 data for that lane on either playback or record.
hope that's what you were looking for.