'How can I command a unity project embedded in WPF?

I have a xaml project in WPF. I added a Unity exe file with a window to this project and mirrored it to the window. But I want to direct with key and mouse movements. How can I go about this? Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source