Skip to content

feat(long-press): support secondary action on extended hold#244

Open
Hepolise wants to merge 2 commits intomainfrom
feat/secondary-media-action
Open

feat(long-press): support secondary action on extended hold#244
Hepolise wants to merge 2 commits intomainfrom
feat/secondary-media-action

Conversation

@Hepolise
Copy link
Copy Markdown
Owner

@Hepolise Hepolise commented Mar 7, 2026

Added optional secondary action for volume long press.

When enabled, holding the button longer triggers a second action after the primary long-press action. This allows combining track skipping with rewind/fast-forward.

Examples:

  • long press → skip track
  • extended hold → fast forward

or

  • long press → rewind
  • extended hold → skip track

Also refactored volume key handler state management and event logic.

Added optional secondary action for volume long press.

When enabled, holding the button longer triggers a second action
after the primary long-press action. This allows combining track
skipping with rewind/fast-forward.

Examples:
- long press → skip track
- extended hold → skip + fast forward

or

- long press → rewind
- extended hold → rewind + skip track

Also refactored volume key handler state management and event logic.
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.

Double press long tap (one press and second is long press) for skipping track

1 participant