Page 1 of 1
Joystick redirection from linux host to windows guest
Posted: 29. Dec 2020, 20:37
by jakson
Is it possible to redirect joystick device from linux host (CentOS 7.8) to windows guest (Windows 7/10)?
It's not a USB joystick - it is serial (RS-232) joystick connected to the input layer via inputattach.
Re: Joystick redirection from linux host to windows guest
Posted: 29. Dec 2020, 20:43
by scottgus1
Serial ports can be redirected into the VM. See
How to: Add a Serial Port in Windows XP and 7 Guest. In this case the device would be controlled directly by the VM's OS, not the host OS.
Re: Joystick redirection from linux host to windows guest
Posted: 30. Dec 2020, 08:16
by jakson
scottgus1 wrote:Serial ports can be redirected into the VM.
This is the obvious and the worst solution - I have to create a HID driver for serial joystick and that means a lot of problems (niche expertise, Win7 old driver framework, Win10 driver signing changes).
I will try WINE but windows applications look ugly there.
Re: Joystick redirection from linux host to windows guest
Posted: 30. Dec 2020, 10:56
by mpack
If you don't have a driver for the guest OS then how did you ever expect to use the joystick there? ESP?
AFAIK a joystick - especially a serial joystick - is not a device which can be supported by a generic OS driver such as mice, keyboards, and USB thumb drives have (on some OS).