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

Output timeout, library update, additional board support #228

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mike-o-tronic
Copy link

Added support for Feather RP2040 USB Host boards
This is implemented as an option and requires un-/commenting two lines in CMakeLists.txt to switch from the PICO series to the Feather boards.
Removed pico-sdk and Pico-PIO-USB files and added git submodules instead
Not sure if this was so smart, but I ran into trouble with Pico-PIO-USB library and this seemed to be the proper way to get updates. Please note that the submodules require the --recurse-submodules option when cloning. If the option was missing the submodules can be fetched with git submodule update --init --recursive.
Added timeout feature
This is useful when one machine is always on and the other gets disconnect or shutdown regularly (one desktop, one laptop for example). To make use of this feature mouse and keyboard need to be connected to the board on the always on machine (via USB hub or common wireless receiver). When the other board gets unplugged or the computer gets be shutdown the output will automatically switch to the active output and prevent accidental switching. If the disconnected output was active while it got disconnected, the output will automatically switch back when it gets reconnected. In the future, especially if more outputs get added, it might be better to change this to always switch to the newly connected or powered on device. And maybe add corresponding options in the configuration.

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

Successfully merging this pull request may close these issues.

1 participant