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

[Feature Request]: Touch/Swipe Controls for D-Pad Actions #378

Open
electroflame opened this issue Apr 22, 2024 · 2 comments
Open

[Feature Request]: Touch/Swipe Controls for D-Pad Actions #378

electroflame opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@electroflame
Copy link

electroflame commented Apr 22, 2024

Is your feature request related to a problem?

I saw that something similar was closed in #281 (mainly for not being possible), however I do think this might actually be doable using touch inputs.

Feature Request

Being able to swipe for the D-Pad actions, especially on the Apple TV remotes, is really nice for controlling things coming from the real, physical remotes.

Taps are still fine, but ideally it should be optional to swipe in a direction as well -- it doesn't need to have tracking (i.e. small vs large swipes, pausing mid-swipe, etc.) but any directional swipe should probably trigger the corresponding D-Pad action, so it's easier for users to use intuitively if they're used to swiping on their regular remotes.

Additional Comments (optional)

I saw a similar request in #281, however there was no information about how that might be accomplished. Looking around, it might be possible to simulate the touch controls using touch events and manually firing the D-Pad key events.

See:
https://github.com/iablon/HomeAssistant-Touchpad-Card
https://github.com/usernein/tv-card/ (specifically around here: https://github.com/usernein/tv-card/blob/master/tv-card.js#L194)

These do work, they're just not as polished as Firemote. Being able to swipe would really polish up the Apple remote integration, as it'd be a pretty close 1-to-1 replication of the physical remote's behavior.

@electroflame electroflame added the enhancement New feature or request label Apr 22, 2024
@PRProd
Copy link
Owner

PRProd commented Apr 22, 2024

Greetigns @electroflame!

You're right, I think it's time to take a serious look at this again. I'm also looking into button hold detection right now as well - both topics come up on a regular basis.

@electroflame
Copy link
Author

@PRProd Sounds great, thanks for taking a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants