haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.85k stars 112 forks source link

[Feature Request] Add the ability to switch to a different monitor input when usb disconnected #7

Closed shanempope closed 3 years ago

shanempope commented 4 years ago

I actually wrote the code for this and it works, but I've never written rust before and I'm not sure how to make the extra configuration optional. Here's the PR for anyone curious: https://github.com/shanempope/display-switch/pull/1/files

This way I only have to run it on one of my devices.

haimgel commented 4 years ago

That's a neat idea! I can see how this could be useful for many... I'll try to add something like this (in both Rust and Swift for completeness).

kcorey commented 3 years ago

Oh! My PR https://github.com/haimgel/display-switch/pull/20 only added it for Rust on my Mac. I don't know about Windows.

B0rax commented 3 years ago

That would be great for people like me with a personal computer and a company owned PC which I am not allowed to install software on

bstag commented 3 years ago

Seems to be the only way my monitors will work as they will not accept a request to switch if they are not on that connection. Both machines set to do this so it changes the monitor input from the original machine to the new machine instead of vise versa.

GazzaHazza commented 3 years ago

Any news on this?

haimgel commented 3 years ago

Going to look into this somewhen this or next week, most probably. As time permits.

GazzaHazza commented 3 years ago

Going to look into this somewhen this or next week, most probably. As time permits.

Awesome! thanks!

B0rax commented 3 years ago

Thanks!! Works great 👍

bstag commented 3 years ago

Works very well thank you.