Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Switch Output Between Two PCs (PS/2 and USB) Using Hotkeys or Automatic Cursor Detection #67

Open
zoushiyin opened this issue Dec 7, 2024 · 5 comments
Assignees

Comments

@zoushiyin
Copy link

zoushiyin commented Dec 7, 2024

The proposed features are:

Hotkey-based switching: Use a hotkey combination to toggle the output between the two PCs.
Automatic cursor detection: Automatically switch the output when the mouse cursor reaches the edge of one PC's screen, similar to how multi-monitor setups work.
This could be particularly useful in dual-computer setups where users might want to switch control between a legacy system and a modern system seamlessly.
Additionally, I think the approach outlined in this comment is excellent. If we could base our modifications and extensions on this solution, it would be ideal.

Thank you very much for your time and feedback. I look forward to hearing your thoughts!

@No0ne
Copy link
Owner

No0ne commented Dec 7, 2024

This sounds like: https://github.com/hrvach/deskhop

I think monitor edge detection won't be possible on PS/2.

@No0ne No0ne self-assigned this Dec 8, 2024
@zoushiyin
Copy link
Author

Yes, it's similar to this. However, in this idea, the switching is done using defined hotkeys, and an additional pair of IO pins is used for USB output.

@0x504B0304
Copy link

It's similar to this. However, in this idea, the switching is done using defined hotkeys, and an additional pair of IO pins is used for USB output.

If use hot keys, pico must be able to repeat the usb signal to another usb pins, however there's no more pio in rp2040. it's conflict with ps/2 pass through or "internal hub".

@zoushiyin
Copy link
Author

Could the switching be done before the PS/2 processing takes place? Ideally, I would like a single Pico to handle time-shared output for both data streams.

@zoushiyin
Copy link
Author

This sounds like: https://github.com/hrvach/deskhop

I think monitor edge detection won't be possible on PS/2.

I have connected the PS/2 interface using a ps2x2pico adapter to a DeskHop device, but I am not getting any response from it. The DeskHop device uses absolute coordinates for mouse control. Additionally, the keyboard is also not responding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants