can't record midi from yoshimi into ardour

I am able to record audio files no problem. When I add a midi track and set up to run yoshimi, i get input from the virtual key board but when i hit the red button to arm for recording and hit the other red button at the top to toggle record and hit the space bar nothing is recorded. I have tried using the routing matrix and jack connections for several hours with no luck. If anyone is available to walk me through this i would be very grateful! Thanks!

Solved: using jack-keyboard works!