Remotely running appium tests in a Hyper-V environment

I know just enough about writing appium tests to be dangerous.
I am trying to run tests from my PC with a remote connection to another machine with appium running in a Hyper-V environment (Windows10).
My question is how can I run the tests so the tests use the mouse and keyboard connected to the host machine and not the mouse and keyboard connected to my PC.

Run the server on hyper-v instance. Here is a tutorial on running Appium on a remote server:

https://praveendavidmathew.medium.com/appium-running-tests-on-a-device-connected-to-a-remote-system-uiautomator2-cfd64139a35