External midi hardware

Hi there,
Wish you all a happy new year.

I’ve got one issues ton understand how to use a external midi to control something in Sensory Percussion software.

I would like to use keyboard a sustain pedal (MAudio SP-2) to control the navigation between kit, first, is it possible ? and how can i do that ?

I would like also to use a Roland SP6 to launch a sound in Sensory Percussion software, is it possible too ?

Thanks