htrefil / rkvm

Virtual KVM switch for Linux machines
MIT License
386 stars 50 forks source link

switch keys remain pressed #42

Closed jimdigriz closed 10 months ago

jimdigriz commented 11 months ago

I use rkvm (ec11f26c9041542cba75e55158f122c4a31a7fdb) between my desktop (server) and laptop (client) and if I have recently toggled from the laptop back to the desktop the switch keys remain active on the client. This means whilst this is occuring, any attempt to use the physical keyboard on the laptop, those proxied keys are still active too.

I am sticking with the defaults (switch-keys = ["LeftAlt", "LeftCtrl"]) and by running evtest on the client as you do the switch the value of the key(s) remains set to one (ie. pressed).

Maybe return the switch keys back to a unset state after a switch is the solution here?

htrefil commented 10 months ago

Thanks for reporting this! Fixed in ad4d362.