Cubase is not recording midi from my keyboard

Hi,

What is the input of the MIDI Track? Is it All MIDI Inputs? How is the All MIDI Inputs set up in the Studio > Studio Setup > MIDI Port Setup? Os your wanted MIDI device enabled for the In All MIDI Inputs?