-
Notifications
You must be signed in to change notification settings - Fork 4
Full rewrite. Supports mouse, multimedia keys, auto-reconnect, etc. #11
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
base: master
Are you sure you want to change the base?
Conversation
Fix: Use logging.exception instead of .error
Cache attribute lookup
Add --list_devices argument
Update docs to reflect latest changes
Continue script when src dir empty
Add error messages on abort
Init the submodules
Update docs
|
Hi! There are some minor ones. I cannot report them in the fork repo, so here it goes:
Output if no device connected |
|
Okay, I've managed to workaround the second issue but the fix is really ugly. |
|
Hey @ig-sinicyn Thanks a lot for your feedback! I was aware of both these issues. In fact the second one already had a dedicated issue in my fork. Cool that you figured out a solution yourself right away! Feel free to PR your fix so this one may be closed. The first one got introduced when I switched from evdev PyPI package to my own submodule, since I wanted to be able to modify it. This one needs investigating why the submodule is not working properly. If you have a clue please let me know in this new issue!
Could you please explain? Do you mean my fork or yours? Cheers |
|
Hi @quaxalber! :) I'm really glad the feedback was well-received. The bridge works with no issues, no reboots or hiccups so far. The only thing I've noticed, the state of NumLock/CapsLock is not synchronised with device the RaspberryPi is attached to. I've did not investigated it deeper so far so I'm not sure where the real problem is. It may be my device, raspberry, my keyboard or all of them:)
Well, it was my fault:) I've refreshed your's fork page and the issues tab appeared. I thought there's no issues for the forks, my bad. |
I'll try but I canot promise when. Had a pretty busy week |
No worries at all. Any time you like.
Hmm weird. Works fine for me with Win 11 & Linux. What's your OS? Have you tried debugging with |
* Use asyncio.all_tasks() again to check if relay is active * Add missing type hints * Add Arguments class with typed properties * Reformat help texts * Unify punctuation * Print help arg last * Re-add print_help() * Rearrange help args * Update docs to v0.7.1 * Bump version
* Add Arguments.__str__() * Move arg setup to CustomArgumentParser
* Add Arguments.__str__() * Move arg setup to CustomArgumentParser * Fix object representations Fix type hints * Fix variable name * Fix relay str representation * Bump version * Run git fetch before tag * Log signal name instead of int on shutdown * Re-add sys.exit(0) in signal handler
* Make venv dir non-hidden
* Fix device representation * Remove str cast * Fix debug output * Bump version
* Update docs to v0.7.4
* Build Arguments.__str__() dynamically * Update docs
* Move intro to top * Specify RPi OS as mandatory requirement * Specify RPi OS Bookworm * Add link to RPi OS Bookworm blog post
* Clean up DeviceIdentifier * Add missing imports
* Set new overview image * Update overview image license
* Choose correct config.txt * Load kernel modules * Make sure dtoverlay is added under [all] * Remove redundant module loading * Check if dir and links exist * Change log color * Bump version
* Remove executor when relaying events * Use boot mouse gadget * Add udev monitor to register device changes * Adapt logging
* Move init_usb_gadgets to controller * Exclude vc4-hdmi devices * Use dict to track tasks * Use ContextManager for DeviceRelay * Handle blocked gadgets * Use ContextManager for UdevEventMonitor * Add error handling * Improved shutdown logic * Add type hints * Adapt logging * Introduce UsbHidManager * Use shutdown event * Exit with code 1 on error * Update docs
* Create PyPI-publish.yml * Delete .github/workflows/python-publish.yml
…130) * Implement interrupt shortcut * Change log level on (un)grab failure * Set grabbed flag on context init * Use find_key_name() * Update docs
* Implement UDC state monitor * Set default interrupt shortcut * Release all buttons on shortcut trigger * Rename relay_active_event * Make ContextManagers async * Remove unused imports * Remove unnecessary code * Adapt logging * Update docs
Hey @HeuristicPerson
Thanks so much for your project. It helped me getting started. Since I needed to relay both keyboard and mouse , I decided to build my own solution on top. Feel free to pull if you like it.
Cheers