Skip to content

Navigation Menu

Sign in
Sign up

various improvements in my fork (auto connect, saved connections, start on login and more) #25

Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /