Mapping "Key" or "Pitch" on a Keyboard

Hi guys,

is it somehow possible to map a midi keyboard to djay pro in order to play songs and loops like a synth.

Here’s a tutorial, that demonstrates how this is done with Traktor. (…)
I tried to figure it out myself, but I didn’t get very far.

I just couldn’t find a way to set a button to a certain value. That would help.

Thx for the help