I wish I could. With the X1 Mk2 it isn’t Midi. The controller uses NHL (I think that is what it is called). It is a proprietary protocol that Native Instruments uses for their controllers-to-traktor.
I can put the controller in 100% midi mode but then I have to re-create all of the default functionality.
I don’t want to do this for the work it would take as well as functionality that cannot be re-created like the LCDs.
NI thought of this and allows you to create midi commands and override default (NHL) functionality. ONly it seems to not work.
hopefully someone else with an X1 has figured this out.