Assign pitch/amp/click1 etc button to midi controller

I am setting up a template for kick 2 in Maschine. Most of the knobs and buttons seem to work, but others don’t seem to trigger the ‘midi learn’ function on right click. Specifically, I tried to assign the pitch button to a button on the Maschine controller (in midi mode) but do dice. I don’t get the midi learn box appear when I right-click.

Many ideas??