Check that the midi port you presented by your keyboard is enabled for midi input in Hauptwerk by looking at the General Settings | Midi ports window. If it’s not enabled you can enable it in this Window. Also ensure the keyboard is connected to your computer before starting hauptwerk.
Iain