hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
5.97k stars 168 forks source link

Button to lock yourself to one computer #13

Closed greengarlic closed 6 months ago

greengarlic commented 6 months ago

Hi! Although I have not been able to build this one yet I was thinking how well does it work when you play e.g. games? I always have to disable Barrier when playing or my mouse switches to other computer. A physical button to lock yourself to current computer would do or a key combination on keyboard. Physical button is hardware change but with a button or two there are other possible uses too.

hrvach commented 6 months ago

Thank you for the suggestion, this will surely be useful and I'll definitely add it in an upcoming version. A keyboard shortcut to lock is probably the easiest!

iooner commented 6 months ago

An "anti-hop" button or key combination could really come in handy for fullscreen apps.

johschmitz commented 6 months ago

Could this be implemented as a simple "pass through" which does not introduce any delay whatsoever (in the millisecond range) to use this as a "gaming mode"?

Also (but tbh less important) two LEDs which show the currently active mode would be useful. I imagine there would be 3 states:

  1. Automatic seamless switching (both LEDs on)
  2. Pass through A (LED A on)
  3. Pass through B (LED B on)
hrvach commented 6 months ago

That is a good idea, I will try to see how this might be implemented. For now, I'm trying to catch up on basic functionality so more universal mouse support happens, as well as ironing out some bugs.

squarism commented 6 months ago

This was my first thought when I saw this because this is what happened when using Synergy way back in the day (not the recent buy-out version of Synergy). I had Scroll Lock mapped as lock mouse. It was great. Glad to see this entire idea continue on, nice project.

hrvach commented 6 months ago

Right CTRL + L in latest firmware should do the trick.