Skip to content

Reaction: Note long-press stem actions disable ANC cycling#507

Merged
d4rken merged 1 commit intomainfrom
feat/stem-long-press-anc-info
Apr 14, 2026
Merged

Reaction: Note long-press stem actions disable ANC cycling#507
d4rken merged 1 commit intomainfrom
feat/stem-long-press-anc-info

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Apr 14, 2026

What changed

Added an info box in the Stem Actions configuration screen that appears when a long-press action is assigned to either AirPod. The box explains that assigning any long-press action disables the AirPods' built-in behavior of cycling Noise Control modes (Noise Cancellation, Transparency, etc.) when pressing and holding the stem.

Technical Context

  • Assigning any non-default long-press action on either side causes bit 0x08 to be set in the SetStemConfig mask, which makes the AirPods forward long-press events to the app instead of cycling ANC natively. This side effect was not surfaced anywhere in the UI.
  • Used InfoBoxType.INFO rather than WARNING — this is an intentional trade-off, not a failure state.
  • Trigger matches the real underlying behavior: the notice shows whenever either leftLong or rightLong is non-NONE, because the mask bit is claimed as soon as either side is set.

@d4rken d4rken added the enhancement Add a new feature of improve an existing feature label Apr 14, 2026
@d4rken d4rken merged commit 6d313c0 into main Apr 14, 2026
10 checks passed
@d4rken d4rken deleted the feat/stem-long-press-anc-info branch April 14, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Add a new feature of improve an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant