Using MacBook Pro as keyboard/mouse for Windows computer
There's no native way to do this. However, you may be able to achieve what you want through the use of software. Below are some options I can think of that you could test:


Synergy
Remote Desktop Connection
Team Viewer
ShareMouse


How well any of these work for you (or meet your needs) will depend on your particular requirements.