Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some devices don't properly forward headset button events #923

Open
4 tasks done
ddogfoodd opened this issue Nov 27, 2024 · 1 comment
Open
4 tasks done

Some devices don't properly forward headset button events #923

ddogfoodd opened this issue Nov 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working device-specific Problem is specific to a device type playback Related to music playback

Comments

@ddogfoodd
Copy link

Description

I have a headphone cable that contains some control buttons (volume down, volume up, pause/play). Those controls work as expected with Auxio. However, when double clicking the pause/play button, the song should be skipped. This works, whenever Auxio is in the foreground or background, while it doesn't work when the screen is locked.

If the screen is locked and the button is double-clicked, it pauses/plays the media instead of skipping to the next. So this might also be a bug.

I would like it to have the same behavior, be the screen locked or not.

Problem solved

No response

Other implementations

While Metro requires 3 clicks to skip to the next song which feels pretty awkward to me, this works on the lock screen.

Benefit

To be fair, this probably benefits quite few people that have a similar hardware control. Still, it might be easy to implement. I am new to Android but will probably look into it and comment if I find something.

Duplicates

@ddogfoodd ddogfoodd added the enhancement New feature or request label Nov 27, 2024
@OxygenCobalt
Copy link
Owner

Huh, so it looks like Retro does seemingly have it's own self-rolled button handling here. I guess I do have to implement a fix for this since some devices refuse to properly forward media buttons.

@OxygenCobalt OxygenCobalt added bug Something isn't working device-specific Problem is specific to a device type playback Related to music playback and removed enhancement New feature or request labels Nov 30, 2024
@OxygenCobalt OxygenCobalt changed the title Make hardware skip button also skip songs when screen is locked Some devices don't properly forward headset buttons to app Nov 30, 2024
@OxygenCobalt OxygenCobalt changed the title Some devices don't properly forward headset buttons to app Some devices don't properly forward headset button events Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device-specific Problem is specific to a device type playback Related to music playback
Projects
None yet
Development

No branches or pull requests

2 participants