the input is working but no output
What keyboard?
What audio software?
What audio interface?
What operating system?
Describe your setup.
Keyboard m audio keystation 49 mk3 interface focusrite scarlet 4i4 Windows 10 with i7 processor DAW studio one professional
Are you sure that you are on a correct forum? This one here is about NI hardware and software.
For Maschine 2 standalone software just enable your keyboard MIDI Ports on the Preferences.
If you're using Maschine as a plugin inside Studio One then explain better what you want to do.