How to assign a MIDI controler pads for selecting instruments

This seems to be a common question.

This previous discussion might help:https://forum.renoise.com/t/switching-instruments-when-using-a-midi-keyboard/49620