Skip to content

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

Merged
Hepolise merged 1 commit into
mainfrom
feat/secondary-media-action
Jun 8, 2026
Merged

feat(long-press): support secondary action on extended hold#244
Hepolise merged 1 commit into
mainfrom
feat/secondary-media-action

Conversation

@Hepolise

@Hepolise Hepolise commented Mar 7, 2026

Copy link
Copy Markdown
Owner

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.

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.
@Hepolise Hepolise force-pushed the feat/secondary-media-action branch from 61544a7 to 9959d99 Compare June 8, 2026 16:43
@Hepolise Hepolise merged commit d0e89bf into main Jun 8, 2026
1 check passed
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