Have you created an input device configuration for your Yamaha keyboard? If not, you need to create an input device configuration in Studio One
If you have created an input device, you then need to select the Yamaha keyboard in the instrument track input drop down menu.
If you have completed both of these steps, you should be able to record MIDI notes generated by your Yamaha keyboard.