htrefil / rkvm

Virtual KVM switch for Linux machines
MIT License
426 stars 51 forks source link

why does the rkvm server relay inputs to itself? #31

Open platyple opened 1 year ago

platyple commented 1 year ago

hello,

after some fiddling around with rkvm on the server side, i realized that inputs are passed to the host as a virtual mouse, at least on xorg. i'm wondering whether that is necessary, since it doesn't respect the settings of your input devices (such as left-handedness). is there a reason for this, or is it a different story on wayland?

htrefil commented 1 year ago

Hi, it does that in order to be able to intercept the keys and send them to remote clients.

platyple commented 1 year ago

i think the problem i had with this was that the server side would get the key and mouse input from the peripherals, and then from the virtual peripherals. so pressing a key once would result in two inputs, mouse movement would be doubled and (in my case) a left click would result in a left and a right click since my mouse is set to be left handed. i haven't tried rkvm in half a year, maybe it's different now, but that's what i remember being my issue