Skip to content

feat(halikey): add local paddle-swap toggle - #1

Open
tcpreplay-dev wants to merge 1 commit into
mainfrom
feature/halikey-paddle-swap
Open

tcpreplay-dev wants to merge 1 commit into
mainfrom
feature/halikey-paddle-swap

Conversation

@tcpreplay-dev

@tcpreplay-dev tcpreplay-dev commented Aug 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds a "Swap paddles (dit/dah)" checkbox to the HaliKey CW Keyer settings page, persisted in RadioSettings
  • Composes (XOR) with the K4's own KP paddle-orientation setting in CwController, so local wiring differences don't require reaching into the radio's menu
  • HaliKey-scoped only — KPOD+ keeps mirroring the K4 directly (separate physical paddle, owns its own onboard keyer)

Test plan

  • Builds clean on macOS (Intel, ad-hoc signed) and links
  • IambicKeyerTests pass (ctest)
  • Ran the built app: Options → CW Keyer shows the new checkbox, persists across restarts
  • Verify with real HaliKey hardware: dit/dah swap takes effect immediately, and toggling the K4's own KP paddle setting still composes correctly (double-swap = normal)

IambicKeyer already supports reversal via setReversed(), but it was
slaved entirely to the K4's own KP paddle-orientation setting. Adds a
"Swap paddles" checkbox in the HaliKey CW Keyer page, persisted in
RadioSettings, composed (XOR) with the radio's own orientation in
CwController so local wiring differences don't require reaching into
the K4's menu. HaliKey-scoped only — KPOD+ keeps mirroring the K4
directly since it's a separate physical paddle.
@tcpreplay-dev
tcpreplay-dev force-pushed the feature/halikey-paddle-swap branch from aa8b459 to bc579b1 Compare August 25, 2026 21:34
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