-
-
Notifications
You must be signed in to change notification settings - Fork 33
various improvements in my fork (auto connect, saved connections, start on login and more) #25
Description
Hi! I’ve been using KeyPeek, but found it was missing a few things I consider essential and, on macOS, did not work for me because of a HID access issue. I collected my fixes and improvements in this fork:
https://github.com/dan-dr/keypeek
The current work is on:
https://github.com/dan-dr/keypeek/tree/feat/auto-connect-settings
What is included
- Fixed macOS HID opening failures by enabling hidapi’s shared-device mode
- Saved keyboard connections, created only after a successful connection
- Exact connection identities without fuzzy ZMK matching
- Auto-connect using either last-connected or manual priority
- Reordering, disabling, connecting, and removing saved connections
- Five round-robin connection passes with a three-second wait between rounds
- Discovery refresh when Settings opens, plus a manual refresh button
- Availability indication for saved connections that are not currently discovered
- Reconnection after a dropped connection, system wake, or session unlock
- Explicit manual disconnect remains disconnected across wake and unlock
- Start on login support for macOS, Windows, and Linux
- Single-instance enforcement
- macOS app packaging, signing support, application icon, and install helper
- Overlay window and macOS window-switcher behavior fixes
For QMK connections, the keyboard-info JSON path and selected layout are retained as part of the saved connection recipe. Vial and ZMK use their protocol-specific stable identities.
The reconnect logic refreshes discovery and then retries the current or saved connections using the same priority and retry behavior as startup auto-connect.
I’m opening this as an issue rather than a pull request because the fork contains several related improvements. I’d be interested to know which parts you would consider useful upstream and how you would prefer the work to be split.